Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    [=Evl=]'s Avatar
    Join Date
    Mar 2010
    Gender
    female
    Location
    Jamal's Bed<3
    Posts
    867
    Reputation
    73
    Thanks
    120
    My Mood
    Amazed

    Exclamation Java Script Read Timed out, Clock Spam, Unable to Connect to minecraft.exe

    1) I recently made a server and the console starts spamming that it can't keep up with system/internet time when someone connects to the server. I have already synced my system time with the internet but still unaware why my Console still spams this Warning.

    2) When I'm in my own server or any public server, I am only in the server for a maximum of 2minutes before it disconnects me saying that the Java Script Socket is invalid and it says Read Timed Out as the reason. Help?

    3) When I login to the Launcher, it keeps saying that I can't connect to minecraft.exe. However, my friends are able to log in and the site is online. I put in the same and correct ID and Password on both the Launcher and website, but error still occurs. Help please?
    Click Thanks if I helped!

  2. #2
    Thinking is the Enemy of Creativity. It's Self-Conscious, & Anything Self-Conscious is Lousy.
    Premium Member
    Elocrypt.'s Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Amazon.
    Posts
    3,070
    Reputation
    273
    Thanks
    292
    My Mood
    Amused
    I have had this problem too, I just took an hour long break then it stopped.

    to stop that stupid Warning message try using a .bat

    here is the code:
    Code:
    java -Xmx512M -Xms512M -cp "minecraft.exe" net.minecraft.LauncherFrame
    pause
    What you do is open up Notepad, then paste this in, save as, where it says Text Document click on it and switch it to All Files then save it as Minecraft.bat where your Minecraft.exe is located then double click the minecraft.bat to start your game... You can also, I believe, make this work for your server but you have to type this code in instead:
    Code:
    @echo off
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx512M -Xms512M -Xmn256M -XX:+UseParNewGC -XX:+DisableExplicitGC -XX:+UseFastAccessorMethods -XX:+UseConcMarkSweepGC -XX:UseSSE=3 -XX:ParallelGCThreads=1 -jar minecraft_server.jar nogui
    pause
    And save that Server.bat where your minecraft server is located...
    Last edited by Elocrypt.; 10-13-2011 at 03:58 PM.

  3. #3
    [=Evl=]'s Avatar
    Join Date
    Mar 2010
    Gender
    female
    Location
    Jamal's Bed<3
    Posts
    867
    Reputation
    73
    Thanks
    120
    My Mood
    Amazed
    Code:
    C:\Windows\system32>java -Xmx512M -Xms512M -cp "minecraft.exe" net.minecraft.Lau
    ncherFrame
    Exception in thread "main" java.lang.NoClassDefFoundError: net/minecraft/Launche
    rFrame
    Caused by: java.lang.ClassNotFoundException: net.minecraft.LauncherFrame
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
    Could not find the main class: net.minecraft.LauncherFrame.  Program will exit.
    
    C:\Windows\system32>pause
    Press any key to continue . . .
    This is what I got when I opened the minecraft.bat file as Administrator.

    The Server.bat file didn't work. My Console still spams the Warning message.
    Click Thanks if I helped!

  4. #4
    Thinking is the Enemy of Creativity. It's Self-Conscious, & Anything Self-Conscious is Lousy.
    Premium Member
    Elocrypt.'s Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Amazon.
    Posts
    3,070
    Reputation
    273
    Thanks
    292
    My Mood
    Amused
    Weird, I can't help you then..

  5. #5
    crex's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    leaf village
    Posts
    11,667
    Reputation
    1365
    Thanks
    2,572
    I think it's because you ran out of ram.
    It overloaded the maximum ram.
    It's a technical difficulty, not a systematic difficulty within the program.

  6. #6
    Thinking is the Enemy of Creativity. It's Self-Conscious, & Anything Self-Conscious is Lousy.
    Premium Member
    Elocrypt.'s Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Amazon.
    Posts
    3,070
    Reputation
    273
    Thanks
    292
    My Mood
    Amused
    That is why I tried to help with using a .bat which lowers the amount of heap size needed to run minecraft which lowers the amount of RAM usage..

  7. #7
    [=Evl=]'s Avatar
    Join Date
    Mar 2010
    Gender
    female
    Location
    Jamal's Bed<3
    Posts
    867
    Reputation
    73
    Thanks
    120
    My Mood
    Amazed
    The console says that I have 43% free memory when I run the server. 3GB RAM.. o-o
    Click Thanks if I helped!

  8. #8
    Thinking is the Enemy of Creativity. It's Self-Conscious, & Anything Self-Conscious is Lousy.
    Premium Member
    Elocrypt.'s Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Amazon.
    Posts
    3,070
    Reputation
    273
    Thanks
    292
    My Mood
    Amused
    You have more than enough... weird. I am confuzzled

  9. #9
    Jakob's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    4,721
    Reputation
    237
    Thanks
    510
    My Mood
    Psychedelic
    Has your client ever crashed because there was not enough memory allocated?
    RIP MINECRAFT SECTION!
    03.10.2010 - 26.09.2011

  10. #10
    [=Evl=]'s Avatar
    Join Date
    Mar 2010
    Gender
    female
    Location
    Jamal's Bed<3
    Posts
    867
    Reputation
    73
    Thanks
    120
    My Mood
    Amazed
    The only time it crashed crashed was because the signal for the server is weak. I have 5 bars on my laptop but the server only gets 1-3bars max. I only crash when the java script times out.
    Click Thanks if I helped!

  11. #11
    maxsterlinux's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    NL
    Posts
    1
    Reputation
    10
    Thanks
    0
    My Mood
    Cool
    Hi try to install the new java update Web site :
    Download Java for Windows
    if that doesn't work let me know. :P

  12. #12
    [=Evl=]'s Avatar
    Join Date
    Mar 2010
    Gender
    female
    Location
    Jamal's Bed<3
    Posts
    867
    Reputation
    73
    Thanks
    120
    My Mood
    Amazed
    Late reply; Java still disconnects me. Even with newest version of Java.

    Anyone help me with the Launcher log-in? O:
    Click Thanks if I helped!

  13. #13
    Rigby's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    NJ
    Posts
    2,050
    Reputation
    37
    Thanks
    279
    My Mood
    Amazed
    Try using java 7 instead of java 6

    Source Filmmaker Animator/Poster Maker
    Former Minecraft Minion
    Film Enthusiast
    TF2 Player

  14. #14
    [=Evl=]'s Avatar
    Join Date
    Mar 2010
    Gender
    female
    Location
    Jamal's Bed<3
    Posts
    867
    Reputation
    73
    Thanks
    120
    My Mood
    Amazed
    I have the latest Java installment.
    Click Thanks if I helped!

  15. #15
    crex's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    leaf village
    Posts
    11,667
    Reputation
    1365
    Thanks
    2,572
    Quote Originally Posted by [=Evl=] View Post
    Late reply; Java still disconnects me. Even with newest version of Java.

    Anyone help me with the Launcher log-in? O:
    Did you update Java to the latest version?

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 07-08-2011, 01:19 PM
  2. Java script hack
    By iwanthacks121 in forum Java
    Replies: 35
    Last Post: 08-21-2010, 11:06 AM
  3. MPGH Timing out?
    By Dave84311 in forum General
    Replies: 3
    Last Post: 09-17-2007, 09:55 PM
  4. Replies: 1
    Last Post: 07-05-2006, 06:20 AM
  5. OMG I SO STUCK!!!(Java Script "n" html problem
    By jeremywilms in forum Programming
    Replies: 11
    Last Post: 06-15-2006, 01:23 PM

Tags for this Thread