creating .java files

trying to work out how to create .java files and what type of text editor can create them (notepad?) please help as am only used to using the system at college thanks for your time much appreciated - b
[215 byte] By [barrington] at [2007-9-26 1:26:23]
# 1

Hi,

Yes, you can use notepad to create .java files. Make sure you select "Save as: All types" when you save the .java file, otherwise notepad appends ".txt" as extension.

There are plenty of editors, and complete integrated development environments to create .java file. I recommend however using a good text editor, like editplus. Don't use any advanced word processors, like MSWord.

leukbr at 2007-6-29 1:09:14 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 2
if you really get going with larger java projects you might want to consider an IDE, like forte, which is available for free from sun. It allows you to more easily manage your files & packages. Easy compilation, running, debugging etc....
esmo at 2007-6-29 1:09:14 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 3
i looked into getting an ide but i only have a celeron 433 and 64 mb ram would that be ok? it says that you need 128 realy confused?
barrington at 2007-6-29 1:09:14 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 4
it is a bit low spec, that's true. Forte eats away your memory, uses around 100MB.I wouldn't worry about processing speed, more memory should do a lot of good. With current prices I'd get some more if I were you, even if you don't want to use an IDE.
esmo at 2007-6-29 1:09:14 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 5
If it says it requires 128 mb I shouldn't install it as it will start swapping to your hard drive all the time.If you really want an IDE with 64 meg in your system, use a very light one like RealJ or JCreator.
leukbr at 2007-6-29 1:09:14 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 6
in ms dos it says "error loading class welcome wrong name" any ideas
barrington at 2007-6-29 1:09:14 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 7
like RealJ or JCreator. where will i be able to get a hold of this sort of ide sun?
barrington at 2007-6-29 1:09:14 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 8
i've got it compiling and executing now thanks both of you for your time enjoy your dollars -b
barrington at 2007-6-29 1:09:14 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 9
FYI: Here's a small list with ide's. Scroll down to the section "compilers / ide's": http://www.phillyjug.org/javaResources.html
leukbr at 2007-6-29 1:09:14 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 10
> i've got it compiling and executing now thanks both of> you for your time enjoy your dollars -bnot to look greedy, but you're supposed to assign them :)) Anyway keep em, you might need em cheers
esmo at 2007-6-29 1:09:14 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 11

hi , you can easily create .java files using notepad .

to do this, save your java source as follows:

file| save or save as...... then type this :

"classname.java"

note that you SHOULD put _ " " _ around your classname.java....

did you get ?!!! sooooooo easy !!!

GOOD LUCK !

azadeh00gh at 2007-6-29 1:09:14 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 12
HiI used EditPlus already. It's quite good. I like it. But it doesn't support making GUIs. Can I use JBuider, is it better ? (it's very slow) Thanks.
hlth at 2007-6-29 1:09:14 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 13
A good free programming editor (that is written in Java so it works on every operating system that Java does) is Jext. It's available form www.jext.org
Greg_B at 2007-6-29 1:09:14 > top of Java-index,Archived Forums,New To Java Technology Archive...