Quote:
Originally Posted by DrJim
In addition to recommending Java, what type of development environment would you recommend for an introduction to Java programming?
To actually compile and use Java code, such as the classes Lance A referenced in http://www.alice.org/community/showthread.php?t=871 , a lot more than just the basic text listing of the code is obviously needed. However I have had difficulty determining what would constitute a minimum configuration and/or a good beginners' system.
Two options would appear to be the Java SDK from Sun or the Eclipse IDE that J. Adams use in his text "Alice in Action with Java." I'm sure there are others. You somewhat imply in your tutorials that you use the Sun SDK but, (with a fairly quick look) I didn't see any real details to verify that.
|
I take my students through three progressively more complex courses using nothing more than the Sun JDK (without NetBeans), the Sun documentation, and the free version of a color-coded text editor named JCreator. Any good text editor that is color-coded for Java will do.
Sun originally called their product the JDK, then they switched to SDK, and now they are back to calling it the JDK in version 1.6.
The JDK contains a compiler (javac.exe), a runtime engine (java.exe), a documentation generator (javadoc.exe), and a few other utility programs (such as a jar file generator) that can easily be run from the command line. Of course, it also contains Sun's massive Java class library. To do the sort of things that LanceA mentioned, it would be necessary to install the custom class library developed by the authors of that particular textbook. Even then, there should be no problem accessing those classes with a simple text editor (assuming that documentation is available).
See the following links for information on the three courses:
http://www.austincc.edu/baldwin/Fall...e/ITSE2321.htm
http://www.austincc.edu/baldwin/Fall...e/ITSE2317.htm
http://www.austincc.edu/baldwin/Fall...age/Index.html
By the third course, the students are writing web browsers, interfaces to SQL databases, servlets, Java2D graphics programs, etc.
Although I don't always succeed, I try to discourage my students from using any high-level IDE such as Eclipse or NetBeans in the hope that once they start using those productivity tools they will understand what is happening when the tool writes code for them.
Of course, I don't discourage professional programmers from using every productivity tool (such as NetBeans or Eclipse) that they can find.
You can also go a long way into C# programming using nothing but a text editor and the .net framework (see
http://www.dickbaldwin.com/tocCsharp.htm) but I don't teach our C# courses and the instructor who teaches them has his students use MS Visual Studio
I believe that serious programming students should learn to program before they learn how to drag and drop and have an IDE write their code for them.
On the other hand, I believe that Alice with its drag-and-drop interface is entirely appropriate for beginning programming students, particularly those who are simply taking the course to satisfy some requirement for a programming course in a non-Computer Science major, such as a student who is majoring in technical writing. About 70-percent of the students who enroll in our Programming Fundamentals course fall in that category.
Dick Baldwin
Free Alice tutorials:
http://www.dickbaldwin.com/tocalice.htm
Free programming tutorials:
http://www.dickbaldwin.com/toc.htm
PS: See "
HOW TO COMPILE AND RUN A JAVA APPLICATION" at
http://www.dickbaldwin.com/java/Java010.htm for brief instructions on how to compile and run a Java application from the command line.
Also see the discussion at the following URL:
http://java.sun.com/j2se/1.3/install...html#Classpath
Pay particular attention to the section that reads
"Should I modify the CLASSPATH variable?"
Within that section, pay attention to the discussion involving the
current directory.