Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 9th, 2005, 12:33 AM   #11
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5 bl00dninja is on a distinguished road
irrelevant............

in java your source file needs to be the same name (case-sensitive) as your class that you're compiling. you seem to be saving your file as helloworld when the class name is HelloWorldApp. i copied and pasted your code and saved it properly and it compiles and executes just fine. java is anal-retentive, java develops good habits. java is TOTALLY OOP. you can write procedural C++ but you cannot write procedural java (technically). so just keep all that in mind. all previous posts were just pissing in the wind to see what they landed on (except polyphemus, he gave you the answer in passing). as to dial-up...i'm stuck with it cuz i live in the boonies, so i go school and use their T1 connection to download stuff to my usb drive and take it home. amazing, $30 US will get you 256 MB these days at freakin' wal-mart. a must-have for us nerds.

oh, and winzip also
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old Nov 9th, 2005, 5:56 AM   #12
java_roshan
Professional Programmer
 
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4 java_roshan is on a distinguished road
Quote:
Originally Posted by Prm753
Aha, I see now. I will download the JDK sometime, but DSL lite only gets 30kb a sec and a 50 mb download will be 25 mins or so, and I don't feel like doing that now lol.
You sure its 30 kb or ...30 KB/Sec???
__________________
Visit: http://www.somaiya.edu
java_roshan is offline   Reply With Quote
Old Nov 9th, 2005, 7:28 AM   #13
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
Quote:
Originally Posted by bl00dninja
irrelevant............

in java your source file needs to be the same name (case-sensitive) as your class that you're compiling. you seem to be saving your file as helloworld when the class name is HelloWorldApp.
I told him already
Polyphemus_ is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:50 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC