Results 1 to 19 of 19
  1. #1
    UniiqueHD is offline Member
    Join Date
    Mar 2011
    Posts
    9
    Rep Power
    0

    Question Need help with Minecraft error including Java

    Ok so im a noob when it comes to stuff like this so make sure you explain it in detail please

    So when I try to play minecraft I get this error.


  2. #2
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    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.

  3. #3
    milovan is offline Senior Member
    Join Date
    Jan 2011
    Location
    Belgrade, Serbia
    Posts
    275
    Rep Power
    4

    Default

    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...

  4. #4
    UniiqueHD is offline Member
    Join Date
    Mar 2011
    Posts
    9
    Rep Power
    0

    Default

    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

  5. #5
    UniiqueHD is offline Member
    Join Date
    Mar 2011
    Posts
    9
    Rep Power
    0

    Default



    LIKE THIS?

  6. #6
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    Did that work? If not, try pointing it to the JRE6 folder and see what happens.

  7. #7
    milovan is offline Senior Member
    Join Date
    Jan 2011
    Location
    Belgrade, Serbia
    Posts
    275
    Rep Power
    4

    Default

    Is there any progress?

  8. #8
    UniiqueHD is offline Member
    Join Date
    Mar 2011
    Posts
    9
    Rep Power
    0

    Default

    Still not working also is can someone post what there Environment Valuables are please? P.S I on Windows Xp

  9. #9
    milovan is offline Senior Member
    Join Date
    Jan 2011
    Location
    Belgrade, Serbia
    Posts
    275
    Rep Power
    4

    Default

    Well, no more ideas...

  10. #10
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    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
    Java Code:
    public class Hello{
      public static void main(String[] args){
        System.out.println("Hello");
      }
    }
    next do the following:
    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
    Java Code:
    javac -cp . hello.java
    4. Type
    Java Code:
    java -cp . Hello
    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?
    Last edited by sunde887; 03-20-2011 at 10:17 PM.

  11. #11
    UniiqueHD is offline Member
    Join Date
    Mar 2011
    Posts
    9
    Rep Power
    0

    Default

    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.

  12. #12
    UniiqueHD is offline Member
    Join Date
    Mar 2011
    Posts
    9
    Rep Power
    0

    Default

    sorry this is what i got

    cd \Documents and Settings\Dane\Desktop javac -cp
    . hello.java
    The system cannot find the path specified.

  13. #13
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    save it directly into c:\, don't put it in any folders.

    Then just type
    Java Code:
    cd \
    From there you can do
    Java Code:
    javac -cp . hello.java
    Followed by

    Java Code:
    java -cp . Hello

  14. #14
    UniiqueHD is offline Member
    Join Date
    Mar 2011
    Posts
    9
    Rep Power
    0

    Default

    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:\>

  15. #15
    UniiqueHD is offline Member
    Join Date
    Mar 2011
    Posts
    9
    Rep Power
    0

    Default

    any more help please

  16. #16
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    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

  17. #17
    UniiqueHD is offline Member
    Join Date
    Mar 2011
    Posts
    9
    Rep Power
    0

    Default

    On the second part when i type

    javac youtube.java

    it does nothing?

  18. #18
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    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

  19. #19
    daveaok234 is offline Member
    Join Date
    Sep 2011
    Posts
    1
    Rep Power
    0

    Default 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

  1. Including Perl in java
    By swati.jyoti in forum New To Java
    Replies: 1
    Last Post: 05-13-2010, 04:31 PM
  2. Help needed with Java exercise - Including arrays - Reward
    By TheDarkReverend in forum New To Java
    Replies: 7
    Last Post: 10-23-2008, 02:52 AM
  3. Including JAR in applications
    By bugger in forum New To Java
    Replies: 0
    Last Post: 01-11-2008, 09:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •