Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

new at JBuilder

Status
Not open for further replies.

sherilu23

Technical User
Jun 24, 2000
7
CA
Since I couldn't find a downloadable java workshop at Sun's, I've downloaded Borland's JBuilder as my java compiler.
when I tested my test code:
public class test
{
public static void main (String[] args)
{
System.out.println("hello");
}
}
it would compile fine, but wouldn't run correctly
instead it would display on the status bar:
"Process finished with exit code 1"

Could anybody help?
Thnaks in advance.

[sig][/sig]
 
your program works perfectely fine, you created a small dos program that by the time you clicked run, it had exited already. "Process finished with exit code 1" tells you that the java program has already completed. If you want to see what the code actually does you will have to jump into the code with JBuilders debugger....

hope this helps...


ackka
tmoses@iname.com
"Do No Harm, Leave No Tracks"

ICMP Summer 2000, 2600 Article
 
I'm just moving into Java. What IDE would you all recommend? I have access to NetBean, Borland's J Builder, and J++. Thanks.
George K
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top