Thread: Getting this error while running my client.

Results 1 to 4 of 4
  1. #1 Getting this error while running my client. 
    Registered Member Justpking's Avatar
    Join Date
    Dec 2010
    Age
    29
    Posts
    131
    Thanks given
    10
    Thanks received
    15
    Rep Power
    3
    Hey guys, i'm getting this error EVERY SINGLE TIME i try and Run a client for a server, everytime. Please post here and help me out, i will Rep+ thanks .



    To the first person to help me resolve this, i'll pm you and get your paypal email and i'll send you a hearty tip.

    I am on windows seven, and here is my code that is in the "1RUN"

    @echo off
    java -cp bin -Xms512m -Xmx624m client 10 0 highmem members 32
    pause
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    May 2011
    Posts
    1,238
    Thanks given
    193
    Thanks received
    267
    Rep Power
    0
    Try using this .bat:

    Code:
    @echo off
    "C:\Program Files (x86)\Java\jdk1.6.0_##\bin\java.exe" -cp bin -Xms512m -Xmx624m client 10 0 highmem members 32
    pause
    Or if that fails you could try the multiple platform .bat:

    Code:
    @echo off
    title Client
    color 0a
    
    :start
    if exist "%HOMEDRIVE%\Program Files (x86)"  goto x64
    goto x86
    exit
    
    :x64
    @echo off
    title Client (W7)
    cd Files
    "%HOMEDRIVE%/Program Files (x86)/Java/jre6/bin/javaw.exe" -Xms512m -Xmx624m client 10 0 highmem members 32
    exit
    
    
    :x86
    @echo off
    title Client (Windows XP)
    cd Files
    javaw -Xms512m -Xmx624m client 10 0 highmem members 32
    exit
    Props to :Taco: for the second one. If neither work then I'd suggest looking into your path settings.
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Jul 2011
    Posts
    692
    Thanks given
    169
    Thanks received
    43
    Rep Power
    0
    Edit your compiler and run.bat file. change jdk version to your version.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jul 2011
    Posts
    70
    Thanks given
    1
    Thanks received
    2
    Rep Power
    11
    Quote Originally Posted by Justpking View Post
    Hey guys, i'm getting this error EVERY SINGLE TIME i try and Run a client for a server, everytime. Please post here and help me out, i will Rep+ thanks .



    To the first person to help me resolve this, i'll pm you and get your paypal email and i'll send you a hearty tip.

    I am on windows seven, and here is my code that is in the "1RUN"
    Make sure there is a client.class

    Make sure the run.bat is running towards it not client.java

    The code that you have means the run.bat is outside the directory

    so ur folder contains-

    Bin
    Src (java files)
    Run.bat
    Compiler.bat

    Am i correct?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Running client error
    By Santi Cazorla in forum Help
    Replies: 5
    Last Post: 12-19-2010, 03:02 PM
  2. Running client error
    By Technooo in forum Help
    Replies: 2
    Last Post: 03-27-2010, 02:17 AM
  3. Error When Running Client
    By Chris123111 in forum Help
    Replies: 2
    Last Post: 01-25-2009, 04:36 AM
  4. Error when running a client. [HELP]
    By imcool121 in forum Help
    Replies: 6
    Last Post: 10-13-2008, 03:37 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
  •