SliTaz SliTaz Forum

You are not logged in.

#1 2012-08-14 21:21:02

andy
Member
Registered: 2012-08-14
Posts: 1

Running .jar files under Slitaz 4 stable

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

#2 2012-08-14 21:35:58

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Running .jar files under Slitaz 4 stable

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.057 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]