943,547 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 1177
  • Java RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Dec 19th, 2008
0

Re: solve.java

Click to Expand / Collapse  Quote originally posted by awo ...
the second problem seems to be ok by me
to run the code simply use
javac TestGreeting.java
then
java TestGreeting
it should run with out any problem
a more than obvious and useless answer: since the thread-starter had errors while running the code, it is safe to assume he/she has already figured out how to run a java app.

was it really necessary to post this twice?
Reputation Points: 919
Solved Threads: 352
Nearly a Posting Maven
stultuske is offline Offline
2,471 posts
since Jan 2007
Dec 19th, 2008
0

Re: solve.java

Click to Expand / Collapse  Quote originally posted by stultuske ...
a more than obvious and useless answer: since the thread-starter had errors while running the code, it is safe to assume he/she has already figured out how to run a java app.

was it really necessary to post this twice?
Have you thought if he was executing the wrong code since there will be two classes. I he said he had problem with classes, now he has two class and one does not have a main method. What would happen if it was that particular one he was trying to execute
So pls think twice before you send your post
awo
Reputation Points: 10
Solved Threads: 1
Newbie Poster
awo is offline Offline
21 posts
since Oct 2007
Dec 22nd, 2008
0

Re: solve.java

then he would have gotten the obvious can not find main method error
Reputation Points: 919
Solved Threads: 352
Nearly a Posting Maven
stultuske is offline Offline
2,471 posts
since Jan 2007
Dec 22nd, 2008
0

Re: solve.java

Chill Out Guys, the original poster has not posted since 4 days already
Featured Poster
Reputation Points: 653
Solved Threads: 151
Nearly a Posting Virtuoso
stephen84s is offline Offline
1,316 posts
since Jul 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: nullpointerexception error
Next Thread in Java Forum Timeline: learning java





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC