Thread: [PI] Cannot find main class Jframe

Results 1 to 9 of 9
  1. #1 [PI] Cannot find main class Jframe 
    Registered Member
    Join Date
    Jan 2008
    Posts
    19
    Thanks given
    1
    Thanks received
    1
    Rep Power
    1
    I open up the client, click run.bat It comes up with "Cannot find main class: Jframe. Program will exit".

    The Jframe class is in the client folder. I can see it. This is what is in the run.bat

    Code:
    @echo off
    title Client
    "C:\Program Files\Java\jre6\bin\javaw.exe" -Xmx300m  Jframe 10 0 highmem members 32
    pause
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2008
    Posts
    19
    Thanks given
    1
    Thanks received
    1
    Rep Power
    1
    Anyone?
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Sep 2009
    Posts
    3,245
    Thanks given
    195
    Thanks received
    255
    Rep Power
    0
    You've edited something right? or does this just happen when you run an unedited PI CLIENT?
    Reply With Quote  
     

  4. #4  
    The Illest

    iitzTyson's Avatar
    Join Date
    May 2010
    Posts
    1,164
    Thanks given
    345
    Thanks received
    73
    Rep Power
    103
    Is Jframe, Jframe? or jFrame? Orr..?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2008
    Posts
    19
    Thanks given
    1
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by Skepta View Post
    You've edited something right? or does this just happen when you run an unedited PI CLIENT?
    Unedited. It also shows errors in compiler, whereas on my laptop it shows none and runs the client perfect.

    Quote Originally Posted by Tysonn View Post
    Is Jframe, Jframe? or jFrame? Orr..?
    Jframe.
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Dec 2008
    Posts
    2,097
    Thanks given
    1,419
    Thanks received
    732
    Rep Power
    0
    your missing Jframe.class and if it shows same thing when you compile then your missing Jframe.java aswell
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jan 2008
    Posts
    19
    Thanks given
    1
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by Aristos View Post
    your missing Jframe.class and if it shows same thing when you compile then your missing Jframe.java aswell
    No, I'm not.
    I use the EXACT same client unedited on my laptop, it runs fine.
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jan 2008
    Posts
    19
    Thanks given
    1
    Thanks received
    1
    Rep Power
    1
    bump.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Dec 2009
    Age
    30
    Posts
    169
    Thanks given
    16
    Thanks received
    3
    Rep Power
    11
    Edit your run.bat and replace it with this:
    Code:
    @echo off
    title Client
    color 1f
    "C:\Program Files\Java\jre6\bin\java" -Xmx300m -cp . Jframe 10 0 highmem members 32
    pause
    http://www.nerdtests.com/ft_nq.php

    I am nerdier than 74% of all people. Are you a nerd? Click here to take the Nerd Test, get geeky images and jokes, and write on the nerd forum!

    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

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