I have this applet and it makes HTTPS requests back to the server. This works fine, until the user logs out of the web site, and then logs right back in and reloads the applet. What appears to be happening is, when the applet is run after logging back in, the browser seems to stick the old ...
ANT how to include NetBeans Jar files in my script of ANT ?
1647 byte By
JasDAa at 2007-11-26 19:24:49
Hi,I'm trying to run a RCP application using Web Start. I tried so many workarounds and tutorials but I always get the same error:!SESSION Fri Feb 23 09:36:24 CET 2007 !ENTRY org.eclipse.core.launcher 4 0 2007-02-23 09:36:24.134!MESSAGE Exception launching the Eclipse ...
HiIn Java WebStart 1.4, there is an option available for logging the java console into a File.In Java WebStart Application Manager :File --> Preferences --> In Advanced Tab, there is an option available for LogOutPut into a file.But In Java WebStart 1.5, there is no option available for ...
Hi all,I dont want my webstart application to be downloaded on desktop or you can say i dont want shortcut of this application on my machine.I want to restrict opening of this application from shortcut. I want it can only be opened using explorer.Thanks in advance
Hi Guys,I have an issue with a java applet i created. I created it using Netbeans 5.5 through the GUI builder. I used drag and drop methods, just included the java.swing library. It extends javax.swing.japplet. My applet compiles, however when i try to view it in the browser, i keep getting ...
47 byte By
chiwena at 2007-11-26 19:32:26
Can i make an eclipse plugin using java?
From the java console, I can dump system and deployment properties.I know that the System.getProperties() api allows me to programmatically retrieve the system props.Can someone tell me how I would retrieve the deployment props as the console does?If you want to know why I am trying to do this ...
250 byte By
P.F.a at 2007-11-26 19:37:19
I successfully made a jar file that uses Swing. After I made the file I tried putting the jar and its class, manifest etc. files on another computer in the same folder but I got an error that said "could not find the main class". Thanks
Hi friends,I am intending to access some files from server to client machine by copying the file to client's machine first and later access from client machine itself and not from the server. Its equivalent to downloading some content from internet to local machine's Windows->Temp folder ...
Hello,i made a program, that needs all rights for encryption and decryption. So it was necessary to replace the original "US_export_policy.jar" and the "local_policy.jar" with those who have no restrictions.So far so good.Now my program have to be downloaded with a jnlp file. And all things ...
835 byte By
kfaniona at 2007-11-26 19:42:46
I am using the tzupdater tool in a testing environment and have a basic question or two I was hoping someone could answer for me.I have downloaded the tool and ran it using the -t switch just to get an idea of the output that will produce. As you may or may not know it runs down a list of ...
I have an applet that we've been using internally for a few years now via the plugin. A few months ago I upgraded the used JRE to 1.6 and life was good. It ran flawlessly under FF and IE6 (with the very occasional hangup, where the JVM froze IE during VM startup).A few weeks ago my system ...
14652 byte By
ibercka at 2007-11-26 19:44:46
I have a simple application that invokes fine a remote ejb in jboss with the next code:// importsString s= null;try { BusinessDelegate businessDelegate = BusinessDelegate.getInstance();businessDelegate.insertAgent(agent);s = "Agent inserted !!!";} catch (Throwable t) {s = t.toString();} finally ...
I have a legacy applet which will go off this year. Unfortunately I have to maintain that on java 1.2.2. I don't want upgrade that to java 5.0 or later for the reason its not going to be there after 8 months. This Applet requires 1.2.2 but our client machines are upgraded to 5.0 I tried Java ...
How does WebStart behave if i have the same app (identical jars, etc.) on two servers, A and B, I launch the app for the first time A, which downloads the app to the cache. Then I quit the app, and try to load it from server B. Will WebStart recognize that the app on server B is the same app ...
543 byte By
P.F.a at 2007-11-26 19:53:53
I created a jar w/ the following code in cmdjar cvmf test.jar manifest.txt *.classand the manifest file reading: Main-Class: JarTestIn the manifest file I do have an extra line. This is a swing application so when I double click it in Windows it should start. However, nothing happened so I ...
All,I have a J2ee application with JSP/action classes etc. Now we want to download some files to the client's machine when user succesfully logs in to the application. I did a sample jnlp file, and I can download my files. Now my j2ee app and my jnlp file exists as two seprate entities. How do ...
766 byte By
BSchaefa at 2007-11-26 20:00:51
I have implemented my own logging strategy in an my applet which sends my log messages to a servlet that writes them to a file on the server. However I would also like to view these messages on the client side by useing Sytem.out.println(...) to put them in the Jave Plugin Console. I have the ...
299 byte By
awyorka at 2007-11-26 20:01:09
If I have a jar with Class-Path set in the manifest, will Java ignore the classpath I use at the command line:java -cp conf/log4j.properties;lib/a.jar com.some.target.MainIf "a.jar" has the class path in the manifest, will the cp I try to pass in get ignored? It seems the
166 byte By
Eastsuna at 2007-11-26 20:02:02
I want to get the content(text) from html.Although there are several third-party tools could do it,but I want know if there have some simple way?
956 byte By
djtom06a at 2007-11-26 20:07:08
I am trying to update java for ConsoleOne (Novell) using the Tzupdater utility. When I run it to update I get the following messages:java home: s:public\mgmt\consoleone\1.2\jrejava.vender: Sun Microsystems Incjava.version: 1.4.1_01JRE time zone data version: tzdata2002cEmbedded time zone ...
Hello All,I have to compare two dates given in string format (MMDD) .1.for equality and 2. whether first date > 1 day of the second date.Since there is no year I'm not sure to use Calendar. Ideas are greatly appreciated. Is it better to go with normal string comparion than converting to ...
538 byte By
JonLeea at 2007-11-26 20:07:23
Hi,My Windows XP Home (with SP2) has recently installed the Update 11 as one of the local Admin and started crashing. So, I started uninstall using "Add Remove Program" to remove Java Update one at a time started from Update 11 to lower number.By Update 6, I consistently getting blue screen of ...
Problem Caching jar fileHi!I have a problem with java web start when I try to lunch an application with the following jnlp:<?xml version="1.0" encoding="UTF-8"?><jnlp spec="1.5+" codebase=" http://192.168.123.191/xampp/testpage/application/" ...
65 byte By
MiziaQa at 2007-11-26 20:08:25
Hey, how can i create an exacutable jar file in netbeans ?
We deployed a web start app around the country and we started getting help desk reports that if there was any network problem, the app wouldn't launch. This is despite the fact that the jnlp contains <offline-allowed/>. I thought it must be some wierdness in some people's local network ...
Hello all,I'm trying to make 'standalone' SSO applications using java web start and JOSSO.My tomcat web application generically creates jnlp file and sends it to the client.The problem I have is when java web start tries to download the jar file I get an error:Corrupted JAR file at ...
Hi everyone. I'm using NetBeans 5.5. I have a new a jar file that i want to include in my program. How do i add it to the library?
in a webstart app I would like to query the contents of one of the jars that webstart is running from. in specific I want find all files in the jar with suffix ".cfg". I know I can do this with the JarFile class, but JarFile requires the path to the JarFile which is unclear if thats possible ...
Hi.I have a strange problem - I have an app which can be both an applet and a standalone application. At some point is calls System.exit() and it can happen in an applet too. (It's easy to redesign the code but that;s not my question)Strange enough (for me at least) the call causes the whole ...
Is there any way I can configure the java control-panel using java code?Please Help,Urgent
510 byte By
Rheaa at 2007-11-26 20:26:04
Hi,I have created a jar file using my classes API.jar. I have written a APITest.java to test the jar. set classpath=F:\Work\API.jar;F:\WorkMy problem is if I use the the below command thejava APITest then it givs me this error.Caused by: java.util.MissingResourceException: Can't find bundle ...
479 byte By
aleixmra at 2007-11-26 20:27:37
Please SUN, I need a way to install jre without the need of being administrator.Via jre itself and java web start. I have deployed a web start application through 70 computers and I don't want to go to each computer and install the jre individually. My application works fine with web start, ...
1676 byte By
clappi77a at 2007-11-26 20:29:48
I'm having trouble getting the package versioning to work for me for some reason. I've stripped it down to the most elemental of examples and I'm still getting back null for all the versioning info for my package.I set up a tmp package with a Tmp.java class as follows:package tmp;class Tmp{ ...
Has anyone had a problem accessing package version information when the CLASSPATH environment variable contains . to search the pwd? I was running into a problem where the package versioning information was null unless I removed the . entry in the CLASSPATH. I was not running the JAR with java ...
1843 byte By
seandra at 2007-11-26 20:34:13
Hi, I'm new to Java and building a JNLP app. When I try to launch my app, it bails out with the following Exception:java.lang.Exceptionat com.sun.javaws.Launcher.continueLaunch(Unknown Source)at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)at ...
I've implemented a custom version of the JnlpDownloadServlet, because I primarily want my own handling of the URL query string. I have it setup to handle both JNLP and JAR downloads and all seems to work - the JNLP apps and JARs download then start and that is good.For simplicity I initially ...
I have a situation for this Daylight Saving Time update that is comming. if the users already have 1.4.2_12 or any previous 1.4 JREs installed and the JNLP is set to look for <j2se version="1.4+"/>. If we install the 1.4.2_13 that has the fix for the DST, which runtime will JWS run the ...
461 byte By
criganoa at 2007-11-26 20:48:26
Hi There,I just recently used the tzupdater tool to patch mostly 1.4.X JRE versions. We have serveral home grown applications that use the Java time class and run on Citrix. I am receiving several reports from users in the Pacific Time Zones that the time is being printed in logs and e-mails is ...
449 byte By
dbrierea at 2007-11-26 20:57:34
We would like to have all our clients running on 1.5.0_11 or later, but NOT1.6.0. So when _12 or _13 comes out 1.5.0_12 or 1.5.0_13 is ok.Currently our version attribute reads version="1.5.0_11+"But removing the + would then limit to just that JRE versionDoes anyone know what the version ...
Hi, just go thru this code,package testplugin;import junit.framework.TestCase;public class Testj extends TestCase {public void testapp(){try{Runtime.getRuntime().exec("cmd.exe /c start /MIN C://testpartner.bat");}catch(Exception e){e.printStackTrace();}assertTrue(true); }}It opens another ...
991 byte By
mmerleta at 2007-11-26 21:01:29
I have the following error when I launch a JWS app (jnlp file via IE) :CouldNotLoadArgumentException[ Could not load file/URL specified : C:\Documents and Settings\mickael_m.SIGALNET\Application Data\Sun\Java\Deployment\cache\6.0\21\56bad555-13a830b3]at com.sun.javaws.Main.launchApp(Unknown ...
847 byte By
mike07a at 2007-11-26 21:04:07
Hi, I'm an end user and am trying to find help with the below error. The Tripplite support said it's a java problem. Can anyone please give me any suggestion on this problem?Best regardsStarting PowerAlert Console...Warning: -jar not understood. Ignoring.Exception in thread "main" ...
1588 byte By
moin_m11a at 2007-11-26 21:18:34
Hi,I am using jdk1.5.0_11 and jre1.5.0_11. I am trying to run an application but I am getting following errorAn error occurred while launching/running the application.Title: Client Server ApplicationVendor: MoinCategory: Unexpected ErrorUnexpected exception: ...
If I start my app while the 'Keep temporary files on my computer' option is checked it starts with J2SE6. If I uncheck it, then it correctly starts with 1.4.2_13This is the line in my jnlp <j2se version="1.4.2_13*" java-vm-args="-Xmx512M -java.native.libs=c:\techtrade\nativelibs" ...
Hi,I have my jar file created with the main class specified. That works fine but it fails to find associated libraries which I have included in a lib folder in the jar. So my questions is how do I specify on the command line the classpath to look at dirs inside the jar. When I say to look at ...
Hi all,I was trying to get the changelog using the cvschangelog command from ant.It is giving me null pointer exception. My ant file will look like below.<cvschangelog ...
198 byte By
CJM3407a at 2007-11-26 21:31:24
I call the Images like thisimg = Toolkit.getDefaultToolkit().createImage("Textures/"+filePath+".gif");The image should be in the Textures folderbut none of my images load
2108 byte By
Franziska at 2007-11-26 21:36:20
Hi there, I have a small application which access an FTP server to download/upload files. And this application is running in my clients using JWS.I am having problems when this application tries to access the FTP server (when using the .jar file in my local machine everything works fine) - on ...