Trying to take a look at BlogBridge, which is a java application available for download here http://www.blogbridge.com/download-linux.php Thing is, it wants to run a jlnp file to install, and the associations are apparently either non-existant or broken on my 9.3 box. Type: application/x-java-jnlp-file Simply causes both Firefox and Konqueror to pop up a file save as/open with dialog. Can anyone point me in the right direction to get this file association set up right so it will run? Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.7-default x86_64 SuSE Linux 9.3 (x86-64)
Scott: El Sáb 25 Jun 2005 13:19, Scott Leighton escribió:
Type: application/x-java-jnlp-file
Can anyone point me in the right direction to get this file association set up right so it will run?
In FF, when 'File Open' dialog shows up, select 'Open with' and select the Java Webstart application. In my case (JDK 1.5.0_03 installed under SuSE 8.2), this is /usr/java/jdk1.5.0_03/jre/javaws/javaws. This should download the jnlp file and open it in the Java Webstart application. Regards, -- Andreas Philipp Noema Ltda. Bogotá, D.C. - Colombia http://www.noemasol.com
On Saturday 25 June 2005 11:48 am, Andreas Philipp wrote:
Scott:
El Sáb 25 Jun 2005 13:19, Scott Leighton escribió:
Type: application/x-java-jnlp-file
Can anyone point me in the right direction to get this file association set up right so it will run?
In FF, when 'File Open' dialog shows up, select 'Open with' and select the Java Webstart application. In my case (JDK 1.5.0_03 installed under SuSE 8.2), this is /usr/java/jdk1.5.0_03/jre/javaws/javaws. This should download the jnlp file and open it in the Java Webstart application.
Well, that kinda works. I have javaws here /usr/lib/jvm/java/jre/javaws/javaws and the link now opens, but all that happens is that I end up with javawsbin running and eating up 90+% cpu with no disk activity and no network activity. PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13505 helphand 25 0 2868 656 544 R 93.9 0.1 20:29.43 javawsbin I've left it running for 20 minutes now, I assume something is broken? Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.7-default x86_64 SuSE Linux 9.3 (x86-64)
Scott: El Sáb 25 Jun 2005 14:38, Scott Leighton escribió:
Well, that kinda works. I have javaws here /usr/lib/jvm/java/jre/javaws/javaws and the link now opens, but all that happens is that I end up with javawsbin running and eating up 90+% cpu with no disk activity and no network activity.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13505 helphand 25 0 2868 656 544 R 93.9 0.1 20:29.43 javawsbin
I've left it running for 20 minutes now, I assume something is broken?
I am just now doing the BlogBridge install on my system, it's easy enough to get rid of it later... 1. Load the jnlp file into Java Webstart. 2. It checks for the current version of BlogStart. 3. It downloads about 4 MB of BlogBridge code. 4. It starts the application. Ok, on my system the instalation works fine. Checking the running processes with 'ps ax | grep javaws' I see several threads like this one: 28075 ? S 0:01 /usr/java/jdk1.5.0_03/jre/bin/java -Xms32m -Xmx128m -Xbootclasspath/a:/usr/java/jdk1.5.0_03/jre/lib/javaws.jar:/usr/java/jdk1.5.0_03/jre/lib/deploy.jar -classpath /usr/java/jdk1.5.0_03/jre/lib/deploy.jar -Djnlpx.home=/usr/java/jdk1.5.0_03/jre/bin -Djnlpx.splashport=7895 -Djnlpx.jvm=/usr/java/jdk1.5.0_03/jre/bin/java -Djnlpx.remove=true -Djava.security.policy=file:/usr/java/jdk1.5.0_03/jre/lib/security/javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.heapsize=32m,128m com.sun.javaws.Main /tmp/javaw5LNnDH No javawsbin process here; javaws ist just a script to start the Java VM using javaws.jar on its bootclasspath. Scott, which Java version are your running? Are you sure it's a VM from Sun >= 1.4? I would recommend you go to http://java.sun.com and get the Linux installer of JRE 1.5.0_03 or - if you do Java development work - JDK 1.5.0_03. It installs everything under /usr/java and can be easily removed should you later wish to do so. Besides, 1.5.0_03 performs better than any Sun VM ever. -- Andreas Philipp Noema Ltda. Bogotá, D.C. - Colombia http://www.noemasol.com
On Saturday 25 June 2005 6:24 pm, Andreas Philipp wrote:
Scott:
El Sáb 25 Jun 2005 14:38, Scott Leighton escribió:
Well, that kinda works. I have javaws here /usr/lib/jvm/java/jre/javaws/javaws and the link now opens, but all that happens is that I end up with javawsbin running and eating up 90+% cpu with no disk activity and no network activity.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13505 helphand 25 0 2868 656 544 R 93.9 0.1 20:29.43 javawsbin
I've left it running for 20 minutes now, I assume something is broken?
I am just now doing the BlogBridge install on my system, it's easy enough to get rid of it later...
1. Load the jnlp file into Java Webstart. 2. It checks for the current version of BlogStart. 3. It downloads about 4 MB of BlogBridge code. 4. It starts the application.
Ok, on my system the instalation works fine.
Checking the running processes with 'ps ax | grep javaws' I see several threads like this one: 28075 ? S 0:01 /usr/java/jdk1.5.0_03/jre/bin/java -Xms32m -Xmx128m -Xbootclasspath/a:/usr/java/jdk1.5.0_03/jre/lib/javaws.jar:/usr/java/jdk1.5 .0_03/jre/lib/deploy.jar -classpath /usr/java/jdk1.5.0_03/jre/lib/deploy.jar -Djnlpx.home=/usr/java/jdk1.5.0_03/jre/bin -Djnlpx.splashport=7895 -Djnlpx.jvm=/usr/java/jdk1.5.0_03/jre/bin/java -Djnlpx.remove=true -Djava.security.policy=file:/usr/java/jdk1.5.0_03/jre/lib/security/javaws.p olicy -DtrustProxy=true -Xverify:remote -Djnlpx.heapsize=32m,128m com.sun.javaws.Main /tmp/javaw5LNnDH
No javawsbin process here; javaws ist just a script to start the Java VM using javaws.jar on its bootclasspath.
Scott, which Java version are your running? Are you sure it's a VM from Sun >= 1.4? I would recommend you go to http://java.sun.com and get the Linux installer of JRE 1.5.0_03 or - if you do Java development work - JDK 1.5.0_03. It installs everything under /usr/java and can be easily removed should you later wish to do so. Besides, 1.5.0_03 performs better than any Sun VM ever. --
I'm running java-1.4.2-sun-1.4.2.08, which was installed off the SuSE installation DVD. From what I can tell, my javaws is completely broken. It flat out doesn't work, if it simply type javaws at the prompt, the same thing happens, javawsbin runs at 90%+ cpu forever with no output of any kind. I'll try reinstalling once my son returns my SuSE 9.3 DVD (he 'borrowed' it to install on his box). I also have 1.50 on this box, but nothing in /etc/alternatives is pointing to it, so I don't _think_ that's the problem, but who knows? It too was installed straight off the DVD. I finally gave up on downloading from Blogbridge and went straight to their Sourceforge site and grabbed the zip packages. Those install fine and Blogbridge fires up perfectly using the shell script in the zip file, so my immediate issue is solved but I'd still like to know why javaws doesn't work on this box. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.7-default x86_64 SuSE Linux 9.3 (x86-64)
Scott: El Sáb 25 Jun 2005 20:36, Scott Leighton escribió:
I'm running java-1.4.2-sun-1.4.2.08, which was installed off the SuSE installation DVD. From what I can tell, my javaws is completely broken. It flat out doesn't work, if it simply type javaws at the prompt, the same thing happens, javawsbin runs at 90%+ cpu forever with no output of any kind.
I have never used SuSE supplied Java, so I have no experience on this side. But yes, your javaws seems to be broken. If you look at the javaws script, you will see that it basically exports some environment variables and starts javawsbin. On my machine I have both Sun supplied JDK 1.4.2_06 and 1.5.0_03; in both VM installations Java Webstart works fine from the command line. -- Andreas Philipp Noema Ltda. Bogotá, D.C. - Colombia http://www.noemasol.com
participants (2)
-
Andreas Philipp
-
Scott Leighton