You are not logged in.
Pages: 1
Hello,
I'm new to Slitaz (though not completely new to unix). I have trouble with running .jar files.
I have already googled for about an hour, to no avail.
I did install all three packages avaliable on the panel, one at a time, then ran java -jar XXX.jar but didn't work out.
After a while I installed Java from the website java.com (jre7-u-5), installed it following another guide, still got [c]sh: java: not found[/c]
Tried running the java.sh file located in [c]/home/user/jre1.7.0_05/bin[/c], nothing. I tried clicking on the Jar file itself to run it, but Jre never listed as a possible application to start it up with.
Then I tried running the jar file with [c]/home/user/jre1.7.0_05/bin/java.sh[/c] as command, nothing.
Also tried running java.sh trough terminal with [c]sh java.sh[/c], gave me this:
[c]sh: java.sh: not found[/c]
I went to the edge of my knowledge I fear, I have no clue what to attempt next. Anyone has a clue?
Thanks in advance
Andy
Offline
Install either the get-java6-jdk-1.0 (Developer Kit) or get-java6-jre-1.10 (Runtime Engine) meta-packages to download the real Java instead of using IcedTea provided by java-jre or java-jdk. You'll have way less trouble with it than IcedTea.
Offline
Pages: 1
[ Generated in 0.057 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]