| Junior Member with 3 posts. THREAD STARTER | | Join Date: Apr 2010 Experience: Beginner | |
I was typing it in as "java <myApp>", but I realized that I had to add the (I think it was the classpath that I changed) to include the specific folder that I had saved some classes and javas to. I can execute the classes that are in that specific folder, but not any other ones. I can type in "javac C:\....<myApp.java>", and it works fine, but I can't just type in the path for the java ("java C:\....<myApp>" doesn't work. Is there a way to make it to where I can just use "java <full path to my app here>", just like I can use "javac <(full path to my app here).java>"?
And thank you for helping me. |