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!

Read Error

Status
Not open for further replies.

sliptdisk

Programmer
Aug 16, 2000
115
US
I'm just getting started and attempted to compile the HelloWorldApp.java, but, got a message saying it couldn't be read. So, I typed, simply, javac HelloWorldApp (w/o the .java extension), and, now, it's saying I have an

javac:invalid argument: HelloWorldApp, then
Usage:javac: <options> <source files>
where possible options include:

followed by a laundry list. Can anyone help figure out what's going wrong, please?
 
Well, team, after much ado, we're finally up and running!

*:->*

Congratulations and thanks to everybody who helped me sniff out the rat. The HelloWorldApp ran fine. I just deleted the set up file, to free up those 30MB. Nothing wrong with doing that, right? Now, all I have to do is learn it. I notice that the Sun page &quot;highly recommends&quot; working with one of the commercial environments they have banners for. Am I going to be able to learn this ok, without doling out the dough for that?

Dan [sig][/sig]
 
Congratulations! Now you should take the advice several people pointed out to set up a system path for java so you can compile you're programs in the folder of your choice rather than your bin directory (if you haven't already done that).

As to the commercial environments they recommend at Sun...
Are you referring to editing environments, operating systems, server software?

Assuming you mean development/editing.
Depends on what you want to do. For the moment since it sounds like you're trying to just learn the language, you'll probably find it difficult enough just to get programs to compile and run unless you're already coming from some other serious OOP language (like c++). Therefore, notepad would work.

I frankly don't like too much help from an editor but if you can at least get something that will color-code your syntax that, I believe is truly helpful and not &quot;padding&quot;. However, if you want to have a fancy environment, like Visual Cafe or Code Warrior, you might have to shell out some cash. Or look around... [sig]<p>--Will Duty<br><a href=mailto:wduty@radicalfringe.com>wduty@radicalfringe.com</a><br><a href= > </a><br> [/sig]
 
You're correct, Will, I was referring to the editing environments. I wrote the HelloWorld applet, yesterday, and that compiled and ran fine. No, I don't have any OOP experience. I've been learning VB for awhile, but, no C++ experience. I'm mainly interested in e-commerce (preferably online banking), so, I think that concentrating on applets will be sufficient, for now. I don't know, for sure - I've been fumbling around like Mr. Magoo for the last couple of years, trying to break into the industry, and, feel like I'm just getting my foot wedged into the door. I don't know - perhaps going back to school for an ISDS degree may be the answer, in the spring. But, I'm betting that if I learn applets, and, combine that with the HTML and other mark-up languages, that I should be alright. I think I'm going to take your advice and skip the Visual Cafe, for now. [sig][/sig]
 
Applets are a nice way to start learning java because they're visual and they do require you to tackle basic java language issues, but if you're aiming a &quot;e-banking&quot; you're going to have to be able to do server-side stuff (servlets/jsp, preferrably ejb, jms etc.) at least eventually. Go to monster.com and look at the job postings for java and you'll see what I mean.

(I love applets by the way but that's the reality of it...) [sig]<p>--Will Duty<br><a href=mailto:wduty@radicalfringe.com>wduty@radicalfringe.com</a><br><a href= > </a><br> [/sig]
 
Well, I don't have my feet set in concrete about the e-banking - I do have an Economics degree, so, it could work out pretty well if I did, sooner or later. I'm just gearing myself (hopefully) for e-commerce, in general. I'm, also, multilingual, so, if I can work that in, too, it'd be great. I certainly do appreciate the heads up about the jsp, etc. (I haven't even heard of ejb or jms, so, I'll check out what they're about, for now, at least). I've learned a little about IIS and MST from classes, and, I'm hoping that once I get a pretty good handle on applets, that I'll be able to find just anything in web development, for now.

Dan

>:):O> [sig][/sig]
 
Yeah it seems like java is the way to go at the moment. Although it's hard to tell through all the hype. Nevertheless, I like it as a technology. It's &quot;nice&quot; without being &quot;soft&quot; (I think) and it's not limited to web development. [sig]<p>--Will Duty<br><a href=mailto:wduty@radicalfringe.com>wduty@radicalfringe.com</a><br><a href= > </a><br> [/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top