jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes please help a extreme beginner get started?!? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "please help a extreme beginner get started?!?" Watch "please help a extreme beginner get started?!?" New topic

please help a extreme beginner get started?!?

Patrick Afcharieh

Joined: Dec 01, 2000
Posts: 1
I have windows me and i can't seem to be able to save me my file with the .java extension in notepad...it doesn't give me the option, only a .text extension...what do i do?
Tom McQueary

Joined: Nov 24, 2000
Posts: 20
When saving the file, put the file name in double quotes. For example, in the file name box, type in "Test.java".
Allen Alchian
Ranch Hand

Joined: Oct 11, 2000
Posts: 83
Trying to use Notepad for java programming is really constraining yourself. I'd like to suggest that you take a timeout and visit the site of the TextPad text editor... www.textpad.com
You can download a free evaluation version of the text editor at the site. This is an extremely highly rated text editor and it is very helpful for writing Java code because it color codes keywords, etc. Also auto indents. You can even run your code from within the editor...this really makes it easier to test out code as you're learning to code Java. Textpad is essentially one or two steps short of being an integrated developement environment. It's also very handy for coding in other languages as well. Needless to say, you won't have problems in saving files as .java files. And you can have multiple files open simultaneously (which I don't think Notepad will allow)...most handy since java programs often involve multiple files. Perhaps the biggest benefit to writing code and executing it from within Textpad is that when your code doesn't compile and a series of error statements are generated, they are automatically placed in a window within Textpad where you can scroll through them for full review. Try that in a DOS window! This feature alone makes it worth the registration fee.
I sound like a salesman for Textpad. But in fact I have no business connection with TextPad; I just use it for my own coding (gladly paid the registration fee) and it is one of only two shareware products that I've found to be well worth the registration fee (around $30 as I recall)...the other being WinZip.
I hope you take this only as the friendly suggestion it is intended to be. Good luck on your Java programming education!
[This message has been edited by Allen Alchian (edited December 01, 2000).]

Frank Carver

Joined: Jan 07, 1999
Posts: 6920
I use Textpad alot, but I get very frustrated that it refuses to honour the file extensions I enter when I try to save a file. I can select Save As, enter something.cxx, for example and it will always save it as something.cxx.txt.
Do you know any way to turn off this annoying functionality and to get it to leave my file names alone?

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
In notepad's Save As dialog there are two input fields. One is a text box asking for the file name (and supplying the extention .txt by default) and the other is entitled Save As Type. Save As Type is set to Text by default. If you change this to All Files then you won't be forced to accept the .txt that notepad wants to append to everything.
Charlotte Hughes

Joined: Nov 29, 2000
Posts: 11
I use Textpad a lot and it does allow me to save a file with a different extension without adding ".txt". I am using version 4.4 of Textpad.
I agree. Here's the link: http://aspose.com/file-tools
subject: please help a extreme beginner get started?!?
It's not a secret anymore!