Results 1 to 19 of 19
- 03-20-2011, 09:05 PM #1
Member
- Join Date
- Mar 2011
- Posts
- 9
- Rep Power
- 0
- 03-20-2011, 09:41 PM #2
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
Looks like you don't have a JVM installed. Java ships with a JVM which runs byte code. A source file(which contains java language code) is compiled into a byte code file, which is run by the JVM. If you have the JVM installed any machine can run a java program(platform independent)
Try heading over to java's website and seeing about downloading the correct JRE. You can probably find tutorials on youtube which will walk you through the download.
If you already have Java installed others will have to help you out, but if you do not, then you just have to dl it and it should work.
- 03-20-2011, 09:48 PM #3
Senior Member
- Join Date
- Jan 2011
- Location
- Belgrade, Serbia
- Posts
- 227
- Rep Power
- 3
Since EXE4J_JAVA_HOME is user variable you can try to add this variable and point it to your JRA or JDK folder. Of course if you have java instaled on your system. I didn't try this since I don't have such problems but it's worth to try...
After all this is what warning message is saying...
- 03-20-2011, 09:48 PM #4
Member
- Join Date
- Mar 2011
- Posts
- 9
- Rep Power
- 0
When I go to Java and click do I have Java it shows
and here is what is inside the Java folder in mt programs files
- 03-20-2011, 09:53 PM #5
Member
- Join Date
- Mar 2011
- Posts
- 9
- Rep Power
- 0

LIKE THIS?
- 03-20-2011, 09:54 PM #6
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
Did that work? If not, try pointing it to the JRE6 folder and see what happens.
- 03-20-2011, 09:57 PM #7
Senior Member
- Join Date
- Jan 2011
- Location
- Belgrade, Serbia
- Posts
- 227
- Rep Power
- 3
Is there any progress?
- 03-20-2011, 10:04 PM #8
Member
- Join Date
- Mar 2011
- Posts
- 9
- Rep Power
- 0
Still not working also is can someone post what there Environment Valuables are please? P.S I on Windows Xp
- 03-20-2011, 10:07 PM #9
Senior Member
- Join Date
- Jan 2011
- Location
- Belgrade, Serbia
- Posts
- 227
- Rep Power
- 3
Well, no more ideas...
- 03-20-2011, 10:13 PM #10
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
I don't have many other Ideas, and my environment variables would be useless since I do not have Minecraft or EXE4 variable. Have you tried uninstalling Java and re-installing it all? (this is really just a last ditch effort)
There are more experienced users on this board who may be able to help you out more than me and Milovan, however; I can't think of much else to add. Does Minecraft have some type of forums where you can communicate with other people?
Also, would you mind doing the following for me?
Open a text editor and copy this into it, save it to some directory near the c: as Hello.java
next do the following:Java Code:public class Hello{ public static void main(String[] args){ System.out.println("Hello"); } }
1. Open cmd prompt (click start, run, and then type cmd)
2. using cd, traverse to where the file is saved(if you saved it in c:\MyFolder, type cd \MyFolder)
3. Type
4. TypeJava Code:javac -cp . hello.java
Tell me if this all works, or if you get errors, if you get errors say(copy and pase, don't paraphrase) which ones you get?Java Code:java -cp . Hello
Last edited by sunde887; 03-20-2011 at 10:17 PM.
- 03-20-2011, 10:32 PM #11
Member
- Join Date
- Mar 2011
- Posts
- 9
- Rep Power
- 0
i dont think i done it right :L
C:\Documents and Settings\Dane>cd \Documents and Settings\Dane\Desktop javac -cp
. hello.java
The system cannot find the path specified.
- 03-20-2011, 10:35 PM #12
Member
- Join Date
- Mar 2011
- Posts
- 9
- Rep Power
- 0
sorry this is what i got
cd \Documents and Settings\Dane\Desktop javac -cp
. hello.java
The system cannot find the path specified.
- 03-20-2011, 10:36 PM #13
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
save it directly into c:\, don't put it in any folders.
Then just type
From there you can doJava Code:cd \
Followed byJava Code:javac -cp . hello.java
Java Code:java -cp . Hello
- 03-20-2011, 10:44 PM #14
Member
- Join Date
- Mar 2011
- Posts
- 9
- Rep Power
- 0
this is what i get...
C:\Documents and Settings\Dane>cd \
C:\>javac -cp . hello.java
'javac' is not recognized as an internal or external command,
operable program or batch file.
C:\>java - cp . hello
'java' is not recognized as an internal or external command,
operable program or batch file.
C:\>
- 03-20-2011, 11:08 PM #15
Member
- Join Date
- Mar 2011
- Posts
- 9
- Rep Power
- 0
any more help please
- 03-20-2011, 11:10 PM #16
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
Alright, Id like you to do 2 things.
1. Keep checking this post for other users with insight(I could be sending you in a wrong direction, and they may be able to say "don't listen to sunde he is being stupid")
2. Go to my link and follow that tutorial to create and run a program.
My thinking is to test what happens when you run a program, it will either run, which means you have a jvm, or it wont which will tell me you don't have the jvm, however, Im not sure if the compiler error is from a wrongly set classpath or just another problem. This video will help you install the jdk, write a program, compile it, and run it. Paste the results after you get a running program.
TheNewBoston – Free Educational Video Tutorials on Computer Programming and More! » Java Programming Tutorial – 1 – Installing the JDK
- 03-21-2011, 12:03 AM #17
Member
- Join Date
- Mar 2011
- Posts
- 9
- Rep Power
- 0
On the second part when i type
javac youtube.java
it does nothing?
- 03-21-2011, 12:39 AM #18
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
That's good, if no errors get thrown it means it compiled, check the folder your saved in for a .class file and if it's there then you can type java YourClassHere
- 09-20-2011, 12:37 AM #19
Member
- Join Date
- Sep 2011
- Posts
- 1
- Rep Power
- 0
Re: Need help with Minecraft error including Java
idk if youve fixed it or not or if youve been suffering months of no minecraft but i had the same error and could find no information on it but i have found a way to play the game with the error
First Download MCPatcher HD Fix for Minecraft 1.8.1 then patch minecraft and click test minecraft it should play at whichever update you were on but you can't update it from the test player but you will have all single player funtions completely capable and textures, skins, everything works that you download it just has no internet connection unless you have an "offline" HiMachi private server (which i do :P) but try this and you might suffer one less day of no minecraft
Similar Threads
-
Including Perl in java
By swati.jyoti in forum New To JavaReplies: 1Last Post: 05-13-2010, 04:31 PM -
Help needed with Java exercise - Including arrays - Reward
By TheDarkReverend in forum New To JavaReplies: 7Last Post: 10-23-2008, 02:52 AM -
Including JAR in applications
By bugger in forum New To JavaReplies: 0Last Post: 01-11-2008, 09:36 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks