Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It gives me the same as in the guide but when I open Google Chrome and try to test java enabled I get an error says java is not installed..
Also, If I try to start a ".jar" file it just opens with the normal Archive Manager and gives no choice for running it as a Java program.
So what shall I do to make it enabled?
.jar files ar java archives. They can be loaded and executed by java containers but not from command line as far as I know. (I may be wrong) Maybe you can execute them with "java abc.jar" to invoke the vm first... But I'm just guessing at hte moment.
j-ray:
The link you've gave me is for Windows and Mac users!
I know that there's a java plugin for chrome in Windows, but not in Linux..
knudfl:
Thanks for the syntax! Can I create a link or something which can start the jar file immediately? I mean I create a link with the command as an argument and when I click on the icon it starts the program
You didnt checked out the link I've mentioned above!
The link you suggested is not working, I tried it several times.
The java is installed on my Ubuntu!
checked with "java -version" and "javac -version" and it gave me this:
Code:
david@David-Linux:~/Asztal$ java -version
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b04)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
and
javac 1.7.0_03
Yes the command works fine, but I'm getting an error...
Code:
david@David-Linux:~/Asztal$ java -jar minecraft.jar
(java:24857): Gtk-WARNING **: Nem található a témamotor a következő modulútvonalon: „pixmap”,
(java:24857): Gtk-WARNING **: Nem található a témamotor a következő modulútvonalon: „pixmap”,
(java:24857): Gtk-WARNING **: Nem található a témamotor a következő modulútvonalon: „pixmap”,
(java:24857): Gtk-WARNING **: Nem található a témamotor a következő modulútvonalon: „pixmap”,
27 achievements
182 recipes
Setting user: szdavid24, 660299078561366
Exception in thread "Minecraft main thread" java.lang.UnsatisfiedLinkError: /home/david/hu-minecraft.net/bin/natives/liblwjgl.so: /home/david/hu-minecraft.net/bin/natives/liblwjgl.so: hibás ELF osztály: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at org.lwjgl.Sys$1.run(Sys.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
at org.lwjgl.Sys.loadLibrary(Sys.java:81)
at org.lwjgl.Sys.<clinit>(Sys.java:98)
at org.lwjgl.opengl.Display.<clinit>(Display.java:132)
at net.minecraft.client.Minecraft.a(Minecraft.java:357)
at net.minecraft.client.Minecraft.run(Minecraft.java:783)
at java.lang.Thread.run(Unknown Source)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.