A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
What am I doing wrong?
Joined: Sep 20, 2003
Aug 27, 2004 12:08:00
I'm new at this and the only thing I how to do is "hello World' and stuff like that.
Since yesterday every time I try to save a file. To later "compile" it will not show in the file.
This is what i did
public class app
public static void main (
Then I save teh fiel as follows:
save as: app. ""java""
save as type: ""All files""
When I try to compile the file is there but as app.txt and only in windows will show not on DOS (command prompt). In DOS it will not show as app.txt or app.java
Thank you in advance to all of you for all the ehlp I have got in the past months
Joined: Mar 13, 2004
Aug 28, 2004 09:57:00
If you put the entire filename in quotes: "myApp.java", the editor will not add .txt to the end of the filename.
If you can find the file in an
window of your editor, right click on the fileame, then select
. There will be a field caled
. Write it down.
Now open an MS-DOS window and type
, using the location you wrote down. Now type
and you will see your program.
[ August 28, 2004: Message edited by: Mike Gershman ]
SCJP 1.4, SCWCD in process
rocket mass heater
subject: What am I doing wrong?
Mock exam questions section 3
java website application
I want to import single-spaced code
What am I doing worng??????
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014