jdk.xzm activated,and java -version doesn't work [SOLVED]

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

jdk.xzm activated,and java -version doesn't work [SOLVED]

Post#1 by alexandre-samuel » 09 Apr 2014, 16:34

Sorry, guys! One more doubt.

I went to oracles site and i downloaded the jdk-8-linux-x64.rpm

After, i typed: rpm2xzm jdk-8-linux-x64.rpm

The module was successfully created, so i moved it to /mnt/sda1/porteus/modules and activated.

So, i typed: java -version

And appeared the following message: bash: java: command not found

How do i fix this?
Last edited by alexandre-samuel on 10 Apr 2014, 19:52, edited 1 time in total.

User avatar
francois
Contributor
Contributor
Posts: 4946
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: jdk.xzm activated,and java -version doesn't work

Post#2 by francois » 09 Apr 2014, 17:08

Are you on 32bit or 64bit porteus 3.0? the jdk package for slackware 14.1 is more appropriate than the rpm or deb.

32bit from pkgs.org is:
http://slackware.org.uk/people/alien/sb ... 2alien.txz
Voltaire: Le mieux est l'ennemi du bien.

alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

Re: jdk.xzm activated,and java -version doesn't work

Post#3 by alexandre-samuel » 09 Apr 2014, 17:16

@francois

My system is 64bits.

I really wanted know if is possible to create a module for oracle jdk, and that it worked.

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: jdk.xzm activated,and java -version doesn't work

Post#4 by Slaxmax » 09 Apr 2014, 18:56

“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

Re: jdk.xzm activated,and java -version doesn't work

Post#5 by alexandre-samuel » 10 Apr 2014, 19:52

@Slaxmax

Thanks.

[SOLVED]

Post Reply