Thread: compiling error

Results 1 to 6 of 6
  1. #1 compiling error 
    Registered Member
    Join Date
    Apr 2013
    Posts
    104
    Thanks given
    2
    Thanks received
    4
    Rep Power
    11
    keep getting this when i try to compile...

    Error: Could not find or load main class com.sun.tools.javac.Main
    Press any key to continue . . .
    Reply With Quote  
     

  2. #2  
    xd


    Join Date
    Oct 2007
    Age
    28
    Posts
    6,078
    Thanks given
    98
    Thanks received
    488
    Rep Power
    5000
    Can you post how you set your environmental variables and or your compiler batch file?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Apr 2013
    Posts
    104
    Thanks given
    2
    Thanks received
    4
    Rep Power
    11
    @echo off
    COLOR 02
    "C:\Program Files\Java\jdk1.7.0_25\bin\javac.exe" -cp . *.java
    pause
    Reply With Quote  
     

  4. #4  
    xd


    Join Date
    Oct 2007
    Age
    28
    Posts
    6,078
    Thanks given
    98
    Thanks received
    488
    Rep Power
    5000
    1) is that ur java version
    2) you should be using an IDE
    3) can i see your environmental variables
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Apr 2013
    Posts
    104
    Thanks given
    2
    Thanks received
    4
    Rep Power
    11
    Path-%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem
    Pathtext-.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

    I got java 7 update 25

    and java se dev kit 7 update 25
    Reply With Quote  
     

  6. #6  
    xd


    Join Date
    Oct 2007
    Age
    28
    Posts
    6,078
    Thanks given
    98
    Thanks received
    488
    Rep Power
    5000
    gimmie ur teamviewer details and i'll see what i can do (pm me them in the shoutbox and hurry cos im tired)
    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. Java Help + Compiler Errors + highscores help
    By Silenced in forum Requests
    Replies: 6
    Last Post: 10-16-2008, 03:38 PM
  2. Basic Compile Errors
    By Daniel in forum Tutorials
    Replies: 4
    Last Post: 09-17-2007, 12:54 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
  •