View Poll Results: What are you using to write your code?
- Voters
- 4202. You may not vote on this poll
-
Wordpad
28 0.67% -
Notepad
220 5.24% -
Emacs
16 0.38% -
Gedit
37 0.88% -
JGrasp
114 2.71% -
Visual J#
3 0.07% -
Netbeans
1,005 23.92% -
IntelliJIDEA
50 1.19% -
Eclipse
1,676 39.89% -
JBuilder
17 0.40% -
BlueJ
214 5.09% -
DrJava
92 2.19% -
Adobe Dreamweaver
9 0.21% -
BBBEdit
0 0% -
JIPE
1 0.02% -
GEL
1 0.02% -
Vi/Vim
37 0.88% -
JCreator
243 5.78% -
TextPad
120 2.86% -
Other
144 3.43% -
Notepad++
175 4.16%
Results 521 to 540 of 950
- 12-23-2009, 08:52 PM #521
Member
- Join Date
- Nov 2009
- Posts
- 6
- Rep Power
- 0
I'm new to java programming, and I use notepad++, which is my favourite editor when writing php. However, I do realise this isn't the best editor to use for java, and I would appreciate some advice on it.. Having read this thread I think NetBeans would do the job. I know some people would recommend Eclipse, but that doesn't seem to work on my computer. Is there anything better than Netbeans?
- 12-23-2009, 09:52 PM #522
Member
- Join Date
- Dec 2009
- Posts
- 1
- Rep Power
- 0
hello,
for the moment i'm using net beans IDE : )
- 12-24-2009, 02:05 PM #523
Member
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 43
- Rep Power
- 0
I use Eclipse for all of my Java and PHP Projects. Sometime for smaller stuff I also use Notepad++
- 12-24-2009, 05:35 PM #524
Senior Member
- Join Date
- Dec 2009
- Posts
- 104
- Rep Power
- 0
i tried eclipse but i was confusing, so i downloaded netbeans and it is a ittle less confusing. When using netbeans IDE i create a new project i have to select main class, class, empty or things like that. I just want to c reate a java file like i always did in notepad++ how to do that?
- 12-24-2009, 05:43 PM #525
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,601
- Blog Entries
- 7
- Rep Power
- 17
- 12-24-2009, 06:08 PM #526
Senior Member
- Join Date
- Dec 2009
- Posts
- 104
- Rep Power
- 0
i did read them before posting, but you know what the help told me?
it says: Choose the file template that fits the needs for your application.
- 12-24-2009, 06:11 PM #527
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,601
- Blog Entries
- 7
- Rep Power
- 17
Next to reading comes experimenting; I highly doubt if penguins will explode in your face or daemons will fly out of your nose when you press a wrong button or select a wrong option or whatever; experiment.
kind regards,
Jos
ps. the 'empty class' option makes sense to me; try it.
- 12-24-2009, 06:42 PM #528
Senior Member
- Join Date
- Dec 2009
- Posts
- 104
- Rep Power
- 0
i tried experiencing, i choose main class. but i was unsure if i could make more classes in the same file than. than i asked you, you told me to read the help.
- 12-24-2009, 06:49 PM #529
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,601
- Blog Entries
- 7
- Rep Power
- 17
All public classes need to be stored in their own file anyway, no matter the IDE you're using and again: try it, it won't hurt; try to create two files and stick a public class in it; try to remove the 'public' classifier and try again and see what happens; playing with those things can be fun and you learn from it.
kind regards,
Jos
- 12-24-2009, 07:14 PM #530
Senior Member
- Join Date
- Dec 2009
- Posts
- 104
- Rep Power
- 0
when i store all the class files in the same directionary and refer in one file to the other class it worked. But only works with public as you said ;)
- 12-24-2009, 08:24 PM #531
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,601
- Blog Entries
- 7
- Rep Power
- 17
Good; I suspect it's time to study packages a bit; neither NetBeans nor Eclipse are too stupid not to understand them; there's a way to create a new package and create new classes in it. NetBeans or Eclipse will take care of the classpath and all. Have fun and remember: read and experiment.
kind regards,
Jos
- 12-24-2009, 11:24 PM #532
Senior Member
- Join Date
- Dec 2009
- Posts
- 104
- Rep Power
- 0
You know? You've changed my way of learning, first I was trying to learn by reading as I do on school. But now I learn by experiencing and testing for learning java that works good for me.
In netbeans when you create a main class it already makes the public static void main(string[] args). That's great. When your coding and something is wrong he shows an red ! Inmediatly. You can easier try until it's good in stead of compile it in dos evrytime
- 12-25-2009, 08:58 AM #533
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,601
- Blog Entries
- 7
- Rep Power
- 17
Yep; that's one part those IDEs can do for you: they (partly) compile the source text while you type; next to syntactical error checking a bit of semantic analysis is done and flags are raised when a failure occurs. I like that technology. IDEs also keep your source files organized: you create packages and classes and interfaces and your IDE takes care of the rest.
But never forget to read first; only if you don't understand (part of) it: experiment until you do understand what that documentation is talking all about. It's a combination of theory and practice. Lots of people don't read and put the blame on their IDEs because they simply don't know how the darn thing works.
kind regards, (and Merry Christmas)
Jos
- 12-28-2009, 02:47 PM #534gcampton Guest
I would suggest staying with notepad++ until you are familiar with the basic language, eg. java up to file IO, exception handling, arraylists, hashtables, treemaps etc. Then when you are ready to move on to GUI programming you can switch to either Eclipse or Netbeans as well, personally I have both installed and use both. I'm sure Eclipse works just fine on your computer, it's just your not competent enough to take the time to learn how to use it, and more importantly understand what is being taught. I think most people need some degree of understanding java before moving onto IDE's such as these, while some may use them from the get go and love it. I think for the general populous there is a good time to start, and that is once the basics are down pat.
I found that when I tried Eclipse as I was just starting to learn java, even reading the manual left me very confused and I found it hard to pickup, but a couple months later once I was familiar with some of the basics it seemed very easy to pick up. 1-2 hours in fact.
edit:
If you would like a java text editor like notepad++ that has the added advantage of a compile/run button I suggest JCreator lite. (it's free but not open source).
Works much like any editor, has syntax coloring, automatic brace completion, java api to view on editor, nice range of preferences to change coloring, tab preferences etc. But looks and feels much like a basic editor.Last edited by gcampton; 12-28-2009 at 03:29 PM.
- 12-30-2009, 12:18 AM #535
Member
- Join Date
- Dec 2009
- Posts
- 10
- Rep Power
- 0
I'm using the ancient NetBeans. That's what our school is using. And it is very easy for me to use.
- 01-01-2010, 06:28 PM #536
Eclipse all the way ;)
- 01-02-2010, 03:11 AM #537
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 01-02-2010, 10:30 PM #538
- 01-04-2010, 02:46 AM #539
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
I don't think 6.7 use much resources like 6.5 tim. Did you try that version in your pc? I'm using it in my desktop having 1GB ram, and working fine.
- 01-04-2010, 01:37 PM #540
Member
- Join Date
- Jul 2009
- Posts
- 35
- Rep Power
- 0
Similar Threads
-
how to write onto a file
By mirage_87 in forum New To JavaReplies: 6Last Post: 09-08-2009, 03:54 PM -
a simple code (cldc or midp) to write a text file ouside of the application package
By sina in forum CLDC and MIDPReplies: 3Last Post: 12-12-2008, 12:12 PM -
How to write your own Comparator
By Java Tip in forum java.langReplies: 0Last Post: 04-15-2008, 07:38 PM -
About bean:write
By yuchuang in forum Web FrameworksReplies: 1Last Post: 04-30-2007, 03:31 PM -
Generating Code Automatically Using Custom code Template In Eclipse
By JavaForums in forum EclipseReplies: 1Last Post: 04-26-2007, 03:52 PM


18Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks