program can compiled but can't runed under command prompt

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Suechi
    New Member
    • Jun 2011
    • 2

    program can compiled but can't runed under command prompt

    Today i found that i can't run all the javaclasses but can compiled under the command prompt,few days ago i still can run them.
    i try to run some on the eclipse,that are no problem.after checked out the Enviroment variables setting(JDK's path is E:\Java\ jdk1.6.0_24),i founed nothig changed with it.
    i also reinstall the jdk ,still not works...Someone help me ,appreciate a lot
    Attached Files
  • dlite922
    Recognized Expert Top Contributor
    • Dec 2007
    • 1586

    #2
    Try java -jar Editplus.jar

    Dan

    //too short.

    Comment

    • Suechi
      New Member
      • Jun 2011
      • 2

      #3
      thx but the command prompt shows: Unable to access jarfiles Editplus.jar

      Comment

      • William
        New Member
        • Jun 2011
        • 2

        #4
        try going in to the path where your dist directory within your program.
        D:java\Pratic\d ist\
        then java -jar <name>.jar

        Comment

        Working...