View previous topic :: View next topic |
Author |
Message |
makila Junior Member
Joined: 26 Jan 2016 Posts: 4
|
Posted: Sat Feb 06, 2016 5:19 pm Post subject: Java install for newbies |
|
|
Hello,
I tried to install Java to launch a minecraft server.
slapt-get -i openjre
slaps-get -l openjdk
The two commands complete with a "package installed" message
but when I type Java in a command
I've got the error
bash: java: command not found
So the install is not complete
Where did it go wrong ??
makila |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat Feb 06, 2016 5:28 pm Post subject: |
|
|
Did you logout and login again after install?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
makila Junior Member
Joined: 26 Jan 2016 Posts: 4
|
Posted: Sat Feb 06, 2016 5:36 pm Post subject: |
|
|
Yes, I rebooted but no difference.
-sh: /usr/lib/java/bin/java: No such file or directory |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat Feb 06, 2016 6:23 pm Post subject: |
|
|
You also need rhino
slapt-get -i rhino
although you can install the latest oracle java, as our packages are a bit outdated, I haven't update them for some time, I'll though...
Which SMS version are you using?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
makila Junior Member
Joined: 26 Jan 2016 Posts: 4
|
Posted: Sat Feb 06, 2016 7:16 pm Post subject: |
|
|
System hostname MineCraftServer (127.0.0.1)
Operating system Slackware Linux 14.0
Webmin version 1.780
Time on system Sat Feb 6 19:11:47 2016
Kernel and CPU Linux 3.14.40-smp on x86_64
Install :SMS64 Native Installation CD version 2.0.8 x86_64
Installed rhino and rebooted : still no luck  |
|
Back to top |
|
|