Hey, sorry if this is in the wrong thread, but i think its ok.
I'm trying to set up Java on my computer using Textpad. I need it for one of my Uni modules. These are the instructions i got to set it up om my computer.
Setting up Textpad on your own computer (Windows)
1. Before setting up Textpad, download and install the current Java JDK from SUN. Then Textpad will configure itself to use that Java JDK. (If you already have Textpad installed but not the Java JDK you might find it simplest to uninstall Textpad then proceed as directed in these notes.)
The latest version of Java JDK (Java 2 Platform, Standard Edition 5.0) can be downloaded from the following webpage: http://java.sun.com/j2se/1.5.0/download.jsp
Download and install the Java SDK, following the instructions given.
2. Basic Textpad installation and use
Go to http://www.textpad.com on your browser and download the current release (TextPad 4.7.3) as instructed.
a) Run the txpeng473.exe file to install. Using the default settings for directories is simplest.
To run Textpad, click on the icon in the Start menu, under Programs.
c) Configure Textpad to your own preferences by selecting Preferences from the Configure menu. Open the Document Classes and under that Open Java. Then you can set editor preferences that will be in effect when you are editing a .java file.
3. Using library files: CM1010.jar
In this course constant use is made of the elements package that accompanies the textbook by Bailey and Bailey. These files are contained in the CM1010.jar (Java archive) file, and this must be made accessible to Textpad. In general, if you use library files (packages) other than the standard files that come with the SDK you will need to set things up to use them.
Obtain a copy of CM1010.jar from the teaching materials for these labs, as described above (“Logging on to iNET”). Put a copy of CM1010.jar in the ext folder in the lib folder in the jre folder of your Java installation. The exact location of this folder depends, of course, on how you installed it. A typical folder address would be
C:Program FilesJavajdk1.5.0_03jrelibext
NB If you place a library file anywhere other than the ….jrelibext folder then you must also edit your CLASSPATH environment variable appropriately to indicate the location of the directory you choose.
I followed the instructions but have a problem.
When i open up the HelloWorld.java file in TextPad there are not colours for different code elements, all the text is just black:
The Java compiles ok, with no errors, but when i try to run the java application it does not pop up with a window saying hello world but, gives this message:
Aqua-Soft Forums
