-
Java Wanna Be
I would love to learn Java.
I have purchased Java for Dummies, which includes the Borland Java Builder.
And I have read online tutorials.
My big problem is that at work I try to go through tutorials, and when I
save for example...Program.java.
It saves as Program.java.txt
I know this shows my complete ignorance but can anyone help?? Please e-mail
me at superwebmonkey@hotmail.com
Also, any good advise on geting started??
-
Re: Java Wanna Be
Sounds like you're using Notepad. Make sure the Files of Type dropdown reads
"All Files" - that should take care of it.
Tom Duffy
"CoolGuy" <superwebmonkey@hotmail.com> wrote:
>
>I would love to learn Java.
>I have purchased Java for Dummies, which includes the Borland Java Builder.
>And I have read online tutorials.
>My big problem is that at work I try to go through tutorials, and when I
>save for example...Program.java.
>It saves as Program.java.txt
>
>I know this shows my complete ignorance but can anyone help?? Please e-mail
>me at superwebmonkey@hotmail.com
>
>Also, any good advise on geting started??
-
Re: Java Wanna Be
Try enclosing the file in double quotes Ex. "program.java"
"CoolGuy" <superwebmonkey@hotmail.com> wrote:
>
>I would love to learn Java.
>I have purchased Java for Dummies, which includes the Borland Java Builder.
>And I have read online tutorials.
>My big problem is that at work I try to go through tutorials, and when I
>save for example...Program.java.
>It saves as Program.java.txt
>
>I know this shows my complete ignorance but can anyone help?? Please e-mail
>me at superwebmonkey@hotmail.com
>
>Also, any good advise on geting started??
-
Re: Java Wanna Be
I use NoteTab as my text editor. You can get it from www.notetab.com
(there's a low-end free version which works just fine). Much better than
Notepad.
CoolGuy <superwebmonkey@hotmail.com> wrote in message
news:390c5445$1@news.devx.com...
>
> I would love to learn Java.
> I have purchased Java for Dummies, which includes the Borland Java
Builder.
> And I have read online tutorials.
> My big problem is that at work I try to go through tutorials, and when I
> save for example...Program.java.
> It saves as Program.java.txt
>
> I know this shows my complete ignorance but can anyone help?? Please
e-mail
> me at superwebmonkey@hotmail.com
>
> Also, any good advise on geting started??
-
Re: Java Wanna Be
If using Win 95,98 or NT, a text editor like Notepad may add a *.txt* file
extenon to the filename of any Java source files you save. So *helloworld.java*
becomes *helloworld.java.txt*.
To resolve the problem, place quotation marks around the filename you're
saving as a source file. That'll avoid inheriting any possible *.txt* extention.
-------------------------------------------------------
"CoolGuy" <superwebmonkey@hotmail.com> wrote:
>
>I would love to learn Java.
>I have purchased Java for Dummies, which includes the Borland Java Builder.
>And I have read online tutorials.
>My big problem is that at work I try to go through tutorials, and when I
>save for example...Program.java.
>It saves as Program.java.txt
>
>I know this shows my complete ignorance but can anyone help?? Please e-mail
>me at superwebmonkey@hotmail.com
>
>Also, any good advise on geting started??
-
Re: Java Wanna Be
You are doing the same thing as I always do. Here is my stupid solution. go
to the console(ms-prompt), change the directory to the the one that your
file resides, and do this:
rename Program.java.txt Program.java
it will solve your prob. simply saving the file by dropping the file type
to "all files" doesn't work, and simply renaming the file by right clicking
on the file also doesn't seem to work
"CoolGuy" <superwebmonkey@hotmail.com> wrote:
>
>I would love to learn Java.
>I have purchased Java for Dummies, which includes the Borland Java Builder.
>And I have read online tutorials.
>My big problem is that at work I try to go through tutorials, and when I
>save for example...Program.java.
>It saves as Program.java.txt
>
>I know this shows my complete ignorance but can anyone help?? Please e-mail
>me at superwebmonkey@hotmail.com
>
>Also, any good advise on geting started??
-
Re: Java Wanna Be
An easier way is to save the file with quotes around it. It will not appent
.txt to it.
"tan" <kevin_tom@hotmail.com> wrote:
>
>You are doing the same thing as I always do. Here is my stupid solution.
go
>to the console(ms-prompt), change the directory to the the one that your
>file resides, and do this:
>rename Program.java.txt Program.java
>it will solve your prob. simply saving the file by dropping the file type
>to "all files" doesn't work, and simply renaming the file by right clicking
>on the file also doesn't seem to work
>
>"CoolGuy" <superwebmonkey@hotmail.com> wrote:
>>
>>I would love to learn Java.
>>I have purchased Java for Dummies, which includes the Borland Java Builder.
>>And I have read online tutorials.
>>My big problem is that at work I try to go through tutorials, and when
I
>>save for example...Program.java.
>>It saves as Program.java.txt
>>
>>I know this shows my complete ignorance but can anyone help?? Please e-mail
>>me at superwebmonkey@hotmail.com
>>
>>Also, any good advise on geting started??
>
-
Re: Java Wanna Be
>I save for example...Program.java.
it saves as Program.java.txt <
Put your file name EG: myProgram.java
In quotation marks EG: "myProgram.java"
This will ensure that ...
1) The .txt extension is not added.
2) Only the .java extension is added.
For REAL beginners to OOP / programming I personally recommend BEGINNING
JAVA 2 from WROX - By Ivor Horton.
(See reviews at Amazon.com)
1000 pages long but it does seem to explain everything from a very basic
level up.
Rob
"Aric" <aric@cybersystems.net> wrote:
>
>An easier way is to save the file with quotes around it. It will not appent
>.txt to it.
>"tan" <kevin_tom@hotmail.com> wrote:
>>
>>You are doing the same thing as I always do. Here is my stupid solution.
>go
>>to the console(ms-prompt), change the directory to the the one that your
>>file resides, and do this:
>>rename Program.java.txt Program.java
>>it will solve your prob. simply saving the file by dropping the file type
>>to "all files" doesn't work, and simply renaming the file by right clicking
>>on the file also doesn't seem to work
>>
>>"CoolGuy" <superwebmonkey@hotmail.com> wrote:
>>>
>>>I would love to learn Java.
>>>I have purchased Java for Dummies, which includes the Borland Java Builder.
>>>And I have read online tutorials.
>>>My big problem is that at work I try to go through tutorials, and when
>I
>>>save for example...Program.java.
>>>It saves as Program.java.txt
>>>
>>>I know this shows my complete ignorance but can anyone help?? Please
e-mail
>>>me at superwebmonkey@hotmail.com
>>>
>>>Also, any good advise on geting started??
>>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks