Results 1 to 2 of 2
  1. #1
    Stones is offline Member
    Join Date
    Jan 2012
    Posts
    1
    Rep Power
    0

    Default Problem with JDK forJCreator

    Hi,
    I have in installed the JDK for JCreator but everytime I go to compile a program I get the following messages:

    Problem with JDK forJCreator-111111111111111.png

    Problem with JDK forJCreator-222222222222222222222.png

    Problem with JDK forJCreator-3333333333.png

    And when I click on finish the following text appears under the bulid output:

    --------------------Configuration: <Default>--------------------
    Error : Invalid path, "C:\Program Files\Java\jdk1.7.0\bin\javac.exe" -g -classpath C:\Users\stones\Documents -d C:\Users\stones\Documents C:\Users\stones\Documents\goal.java

    Process completed.

    Command : "C:\Program Files\Java\jdk1.7.0\bin\javac.exe" -g -classpath "C:\Users\stones\Documents" -d "C:\Users\stones\Documents" C:\Users\stones\Documents\goal.java
    Directory : C:\Users\stones\Documents


    Anyone know who I can fix this problem?

    Cheers
    Last edited by Stones; 01-04-2012 at 08:31 PM.

  2. #2
    ozzyman's Avatar
    ozzyman is offline Senior Member
    Join Date
    Mar 2011
    Location
    London, UK
    Posts
    797
    Blog Entries
    2
    Rep Power
    4

    Default Re: Problem with JDK forJCreator

    Can you compile java files with the command line argument:

    Java Code:
    javac "path/to/MyClass.java"
    Or is this just a JCreator problem?

Posting Permissions

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