Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Running Java Program via bat file

807606May 9 2007 — edited May 10 2007
Hi

I have a bat file. I have compile the java files and the class files into the same folder.

I am suppose to double click on the bat file and it is suppose to run (in the same manner as IDE)
but it only appear the 1st line of the program. Whatever i type, it refuse to budge.

What should i do to retify the problem?
I have already set the classpath properly
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 7 2007
Added on May 9 2007
15 comments
6,577 views