![]() ![]() If the programĬompiles but you get an exception, check the spelling andĬapitalization in the file name and the class name and the java Runs but you get errors, check your Java text. If the system cannot find javac, check the set path command. You should seeįilenamehere.java and filenamehere.class among the files. Javac has created the filenamehere.class file. ![]() ![]() This tells the system where to find JDK programs. C:\mywork> set path=%path% C:\Program Files\Java\jdk1.5.0_09\bin You should seeįilenamehere.java among the files. This makes C:\mywork the current directory. I'm not sure how to execute the program - any help? Is this possible on Windows? Why is it different than another environment (I thought JVM was write once, run anywhere)? While ((length = inStream.read(buffer)) > 0) I'm trying to execute a Java program from the command line in Windows. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |