Please help in installing Java...........

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KiranJyothi
    New Member
    • Apr 2007
    • 45

    #1

    Please help in installing Java...........

    Can Anybody please help me in installing Java.
    I installed JCreatorI in c:/program files/java and once I am trying to compile my java programs, I am getting this thing :

    Code:
    Error : Invalid path, \bin\javac.exe -classpath "C:\Program Files\Java\jdk1.5.0_11\bin" -d "C:\Program Files\Java\jdk1.5.0_11\bin" "C:\Program Files\Java\jdk1.5.0_11\bin\Car.java" 
    
    Process Completed.

    I tried to execute it, I couldn't see the output. By using Notepad and Command prompt I see the output. Can anyone please tell me how to set this?

    ( For safe side the did saved my .java in the bin folder. )

    Thanks in advance.

    Regards,
    KiranJyothi
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Your JCreator installation doesn't know the directory where javac can be found.
    It assumes "\bin\javac.exe ". It isn't there. I assume that you have to set a
    variable a la "JAVA_HOME" to the path (directory) where your JDK is stored.
    Most likely that value will be "C:\Program Files\Java".

    kind regards,

    Jos

    Comment

    • KiranJyothi
      New Member
      • Apr 2007
      • 45

      #3
      Originally posted by JosAH
      Your JCreator installation doesn't know the directory where jacac can be found.
      It assumes "\bin\javac.exe ". It isn't there. I assume that you have to set a
      variable a la "JAVA_HOME" to the path (directory) where your JDK is stored.
      Most likely that value will be "C:\Program Files\Java".

      kind regards,

      Jos
      Thank You for your help but it didn't work. Can you tell me what should I do now?

      Thank You once again.
      Regards,
      KiranJyothi

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Originally posted by KiranJyothi
        Thank You for your help but it didn't work. Can you tell me what should I do now?
        No I don't because I don't know JCreator. I do know that JCreator doesn't know
        where your JDK is stored (javac, java, javaw etc.) You have to supply it a path
        to your JDK somehow; check the documentation.

        kind regards,

        Jos

        Comment

        • JosAH
          Recognized Expert MVP
          • Mar 2007
          • 11453

          #5
          @OP: I deleted your other thread because it was a double post of this one.

          kind regards,

          Jos

          Comment

          • KiranJyothi
            New Member
            • Apr 2007
            • 45

            #6
            Originally posted by JosAH
            @OP: I deleted your other thread because it was a double post of this one.

            kind regards,

            Jos
            Thank You Very Much for the help.
            Once I'll check it with my professor tomorrow.

            Regards,
            Jyothi

            Comment

            Working...