LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   .jar file (http://www.linuxquestions.org/questions/slackware-14/jar-file-4175487227/)

suicidalginger 12-07-2013 12:54 PM

.jar file
 
I just got the file Minecraft.jar. When I was using openSUSE I used the command java -jar Minecraft.jar to run it. In Slackware I get the error:

bash: Java: command not found

So how do I run this file?

Im new to slackware and cant seem to find anything on it any help would be greatly appreciated.

Alien Bob 12-07-2013 01:21 PM

Install Java.
Slackware does not come with Oracle Java because of license restrictions. But using the script in ./extra/source/java (check any Slackware mirror, or the DVD) you can create a JDK package after you have downloaded the official binaries on java.com.

Or else you can look for my OpenJDK package (built from source on Slackware).

Eric

Stuferus 12-07-2013 01:34 PM

you can use "jre" from slackbuilds


All times are GMT -5. The time now is 06:09 PM.