PDA

View Full Version : [ubuntu] Java No JVM or JRE found



tech189
May 23rd, 2013, 04:00 PM
Hi!

I'm new to Ubuntu and I thought that Java would be a good thing have. So I tried installing it. (Using Terminal). Then "java -version" worked so I thought I'd better try Minecraft. It didn't work. Grr. Came up with this error message:

No JVM could be found on your system. Please define EXE4J_JAVA_HOME to point to an installed 32-bit JDK or JRE or download JRE from www.java.com (http://www.java.com).

Then I tried a Java applet: http://mainline.brynmawr.edu/Courses/cs110/spring2002/Applets/Smiley/Smiley.html. And guess what? It works.

What do I do?

tech189

dino99
May 23rd, 2013, 05:14 PM
https://help.ubuntu.com/community/Java

note: dont talk about illegal stuff here (note that your ip is logged for hunting fraud)

tech189
May 23rd, 2013, 06:06 PM
Thanks. I'll try and reinstall it now using the info on that page.

EDIT: Do you need to install jre 6 and jre 7 or just one of them?

tech189
May 24th, 2013, 02:39 PM
I installed it from that website and it still doesn't work...

QIII
May 24th, 2013, 03:09 PM
What is the output of

java -version now?

tech189
May 30th, 2013, 06:03 PM
When I do java -version, I get :

java version "1.7.0_12-ea"
Java(TM) SE Runtime Environment (build 1.7.0_12-ea-b05)
Java HotSpot(TM) Client VM (build 24.0-b26, mixed mode)

tech189