Thread: cannot find or load mainclass gui

Results 1 to 4 of 4
  1. #1 cannot find or load mainclass gui 
    Registered Member
    Join Date
    Jul 2012
    Posts
    44
    Thanks given
    5
    Thanks received
    0
    Rep Power
    7
    cannot find or load mainclass gui.
    I cannot find or load mainclass gui, i need some help!
    Post below what i need to show u so u can help!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Nov 2011
    Posts
    102
    Thanks given
    2
    Thanks received
    3
    Rep Power
    11
    your jdk is not the same as what the client or source is set too.
    Right click edit both run.bat's and the compile.bat and it will say something along the lines of
    "C:\Program Files\Java\jdk1.7.0_04\bin\javac.exe"
    just make sure the jdk you have and the jdk in the run and compile are the same
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2012
    Posts
    44
    Thanks given
    6
    Thanks received
    1
    Rep Power
    11
    depends on what are you running x64 or x32 and can u post up the full code in the cmd error? so its much easier for me to define.
    Reply With Quote  
     

  4. #4  
    Registered Member Mayday Parade's Avatar
    Join Date
    Apr 2009
    Age
    27
    Posts
    495
    Thanks given
    20
    Thanks received
    17
    Rep Power
    8
    Your run.bat can't find the public static void main(String[] args) in your GUI class. If your class files (the ones that end in .class) are in a different folder than your run.bat, edit it and add this below "@echo off"
    Code:
    cd [FOLDER LOCATION (normally /bin/)

    Spoiler for LoL:
    Quote Originally Posted by Imbued View Post
    Quote Originally Posted by pasta186 View Post
    That tutorial doesnt walk.
    That's because it got no legs..
    Best report I've sent? "Mass spam? Also in wrong sexual"
    LOL
    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. Replies: 10
    Last Post: 08-11-2012, 08:25 PM
  2. Cannot find main class: Gui
    By Wowee in forum Help
    Replies: 1
    Last Post: 06-14-2012, 04:14 AM
  3. Replies: 7
    Last Post: 03-24-2012, 03:26 PM
  4. cant find Gui
    By i owns u i in forum Help
    Replies: 2
    Last Post: 03-19-2011, 07:44 AM
  5. Gui causing map load error?
    By Core in forum Help
    Replies: 6
    Last Post: 11-01-2009, 10:52 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •