Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 05-11-2004, 09:11 PM   #1 (permalink)
 
Newb Techie

Join Date: Apr 2004

Posts: 11

baloon

Default running batch file (Java)

I have a project in Java language that my friend sent to me w/ a batch file and other .java files in the same folder. But I can't run that project by double-clicking on the batch file. Nor does it run when I go to the command line and type in "javac *.java" I'm sure the batch file is written properly. Somebody told me I had to install jdk. I don't know what to do. I have JBuilder 8 install on m computer, though. I just don't want to run the project throught JBuilder, I want to run it by the batch file.

Do you have any idea?
baloon is offline  
Old 05-11-2004, 10:09 PM   #2 (permalink)
 
Banned

Join Date: Jan 2004

Posts: 471

subdivizion

Default

you have to install the java software development kit (java sdk!!!). download it from the java website at: http://java.sun.com/j2se/1.4.2/download.html

make sure you read the instructions on the site and the options carefully.
subdivizion is offline  
Old 05-12-2004, 09:58 PM   #3 (permalink)
 
Junior Techie

Join Date: Oct 2003

Posts: 85

zoerb

Default

if you want to run the program, you need to type " java programname.java" not javac program. javac is the program that compiles .java to .class , and java runs .class files
__________________
Asus A7n8x-x
athlon 2800
radeon 9600 pro
512 mb 2700 mem
western digital 80gb special edition
zoerb is offline  
Old 05-13-2004, 10:23 AM   #4 (permalink)
HoLoCroN's Avatar
 
Monster Techie

Join Date: Mar 2004

Location: Plant City, FL

Posts: 1,304

HoLoCroN is on a distinguished road

Default

Quote:
Originally posted by zoerb
if you want to run the program, you need to type " java programname.java" not javac program. javac is the program that compiles .java to .class , and java runs .class files
Good catch zoerb,

Since the files are already compiled and ready to go, just follow zoerbs intructions and you should be ok.
HoLoCroN is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On