Sun Java not run some jnlp file
Hi
Can not run aplet from jnlp file from this link: Quote:
Always error "Can not ran Java Env /usr/lib/java". On other distros installed on VirtualBox : Debian, Centos Fedora everything works OK . Java version 6_24 but on others works too. Only on slack based distro do not work. I think it is a bug in Java install on Slackware package because on other distros on the same version Java it works OK. Maybe some clue.I gave up. B.P |
Instead of using the "java" command, have you tried using "javaws" to run the jnlp file?
|
Yes .
I wrote: Quote:
Everyone can check this. |
It works fine on my Slackware64 13.37.
I get a polish login screen. Eric |
Bob
But on my 32 bit is "Unable to launch the aplication" both on laptop and on desktop. I did not check on Slack64. Maybe it is time to go for 64 bits :-) Thanks. |
Hello,
Quote:
but, with the (stock) JDK, the application works. So replacing the JRE by the JDK should solve your problem. -- SeB |
Quote:
Eric |
phenixia2003
Thanks for pointing me to jdk. It works. I mark thread as resolved, but open question is: Why jre in Slackware do not work, and in rpm based distros and Debian works ? |
Alien Bob,phenixia2003
I found it. There is bug in JRE package for Slackware The environment path is: /usr/lib/java and should be: /usr/lib/java/jre Best regards |
Hello,
Quote:
But, I reproduced the problem under Slackware and Centos (6.2) using only the binaries from Oracle (versions 6u25 and 6u30). First of all, looking at the Slackbuild used to repackage the JRE binaries from Oracle, we notice the steps below :
It seems that the problem has something to do with the step #2, but I really don't know why and I don't understand that :scratch:. This should be related to a bug from Oracle or inside the application pointed by the provided jnlp link. So, how to reproduce the problem using only the binaries from Oracle ?
After this, the JRE must be installed into /usr/lib/jre1.6.0_30. Always in /usr/lib, create this link : Code:
$ ln -sf jre1.6.0_30 java Code:
$ javaws http://makler.bmbgz.pl/sidoma8inter/sidoma_kl.jnlp 1. As root : Code:
$ cd /usr/lib 2. As normal user, if you start the application from the provided jnlp link, an error will be thrown. Now, if we cancel what was done in the two previous steps, the application will start normally again :
As the JDK binaries are repackaged the same way, I really don't understand why the jnlp-application works with it and not with the JRE. Is anybody else could check this to ensure that I don't tell stupid things :p ? Greetings. -- SeB |
phenixia2003
I was unprecisly. The environment path to java home in /etc/profile.d/ is corect. but JRE is only copied runtime part of JDK . The runtime binaries in jdk are in path /usr/lib/java/jre but that runtimes in jre are in ../java. I do not know why but if they are in the different folder outside path to ../jre you can't set properly environment to run javaws. Simply system "sees" executable of java but Java itself not. If you open ControlPanel of Java from menu and try set environment path to another folder but ../jre you can't set and write this environment path. If they are right in place Java find and set it iself in its ControlPanel. I just unpacked jre txz package copy content of ../java to ../jre then move ../jre to ..java and change install script to make right symlinks. Then make package and finito :-) |
All times are GMT -5. The time now is 04:43 PM. |