File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes simple Java editor needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "simple Java editor needed" Watch "simple Java editor needed" New topic
Author

simple Java editor needed

Chris Trout
Greenhorn

Joined: May 05, 2010
Posts: 16
Hello Everyone,
I am starting to work thru the Head First Java book and need a simple editor.
I do have Eclipse installed. I was using it to play with Android.
I installed Java version 1.6.0_18 SE on my computer so I could work thru the book.
Can I use Eclipse as my editor with this vesion of Java? Or should I download a simple Java editor?

Thank you in advance.
-Chris
Nicola Garofalo
Ranch Hand

Joined: Apr 10, 2010
Posts: 308
Hi Chris,
try to begin with the simplest editor possible. Notepad perhaps.
You need to make tons of syntax errors at this stage.


Bye,
Nicola
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39436
    
  28
Nicola Garofalo wrote:Hi Chris,
try to begin with the simplest editor possible. Notepad perhaps. . . .
I suggest you avoid NotePad and look for jEdit, Notepad++ or Notepad2, which are all much better for programming.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19723
    
  20

Campbell Ritchie wrote:I suggest you avoid NotePad

I couldn't agree more. Notepad is one of the worst text editors there is.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Charles Nodell
Greenhorn

Joined: Apr 20, 2010
Posts: 6
I would stick with a text editor and avoid fancy IDE's for the learning process. Most anything that is not notepad will do. I would look for something with syntax highlighting and perhaps auto-indention. These are sometimes called Source Code Editors or Programing text editors. Try some and see what you like! I prefer Geany at the moment. Here is a list of common editors, though there are many more:

Crimson Editor (Windows)
Emacs (Cross-platform, including Unix, Linux, Mac OS X, Windows)
Geany (Linux, Windows)
jEdit (Windows, Linux, Mac OS X)
Kate/KDevelop (KDE)
NEdit (Linux, Unix, Mac OS X)
Notepad++ (Windows)
Programmer's Notepad text/source code editor (Windows)
PSPad (Windows)
SciTE (Windows, Linux)
TextMate (Mac OS X)
TextPad (Windows)
UltraEdit (Windows)
vi/Vim (Cross-platform, including Unix, Linux, Mac OS X, Windows)

*EDIT* I forgot to mention that I am also in the process of learning. I am in no way an authority, but this has worked well for me so far.


Charles
Janeice DelVecchio
Saloon Keeper

Joined: Sep 14, 2009
Posts: 1691
    
  12

I like notepad++.... probably one of the best editors I've used (and I tried several before I settled down). You can even keep it on a usb drive and use it on any computer if you'd like

This thread may be of some help:
http://www.coderanch.com/t/482446/Cattle-Drive/editor-do-students-assignment


When you do things right, people won't be sure you've done anything at all.
Lee Eun-Soo
Greenhorn

Joined: Dec 02, 2009
Posts: 2
Chris Trout wrote:Hello Everyone,
I am starting to work thru the Head First Java book and need a simple editor.
I do have Eclipse installed. I was using it to play with Android.
I installed Java version 1.6.0_18 SE on my computer so I could work thru the book.
Can I use Eclipse as my editor with this vesion of Java? Or should I download a simple Java editor?

Thank you in advance.
-Chris


hi, i think eclipse is not a simple editor. eclipse is a useful tool you know. if you have experienced programming language like C, C++ so on, I think eclipse is good editor for you.
but if you're not, I think something else is better one like notepad, texteditor the basic one in your OS.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14274
    
  21

+1 for Notepad++, it's a very good, free and versatile editor with syntax highlighting for Java and lots of other languages. The only disadvantage is that it works on Windows only.

On Linux, the standard editor gedit (for the GNOME desktop environment) is quite good, I also use that on my MacBook. There's also a Windows version of gedit, but it's not as good as the Linux and Mac OS X versions.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39436
    
  28
Yes, I usually use gedit; it's a very good tool. You can even get a LaTeX plugin for gedit

IDEs like Eclipse and NetBeans are useful for fast development, but can get in the way of learning in the early stages.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Can I use Eclipse as my editor with this vesion of Java?

Yes you can. You can install many JREs and choose which one to use for your Eclipse project.


[My Blog]
All roads lead to JavaRanch
Chris Trout
Greenhorn

Joined: May 05, 2010
Posts: 16
Thank you everyone for your input.
I decided to go with Notepad++.
I'm really not challenging it much but it seems fine for what I need it for now.

I'm wondering if there is a way to tell it to compile a source file or many source files?

-Chris
Janeice DelVecchio
Saloon Keeper

Joined: Sep 14, 2009
Posts: 1691
    
  12

No. You should start out by compiling from the command line.
 
wood burning stoves
 
subject: simple Java editor needed