home *** CD-ROM | disk | FTP | other *** search
- Right, here is Pootles instructions on how to get Kaffe-Java to work on your
- system:
-
-
- 1. Make sure you have at least 2 cigarettes at hand
-
- 2. Decrunch the arc into a relevant place
-
- 3. Put the contents of PootlesLibs into your LIBS: dir
-
- open up the INFO on your shell starter (shell/cli/kcon/whatever and change the
- stack to 64000 - yes its not a typo 64000 !
-
- Open your S:shell-startup in a text editor and add the following lines:
- ;begin JAVA stuff
- ASSIGN JAVA: «wherever you stuck the Java dir»
- ALIAS javac "Java:bin/kaffe sun.tools.javac.Main []"
- ALIAS java "Java:bin/kaffe []"
- PATH Java: add
- ;end JAVA stuff
-
- THINGS TO REMEMBER
- ------------------
-
- Make sure you add those lines to shel-startup and not user-startup
- Make sure there is a space in the 2 lines between the last word and the []
- (eg NOT alias ........Main[] or alias ......kaffe[])
- or it will not work!
-
- Right - open up a shell and get going!!
-
- javac is the command to compile the java source
- eg javac MySource.java
- java is the command to run the java exe
- eg java MySource
- note you do not put the class extension if you are running the exe!
-
- Go for it!
-
- There is a bit of Source in the drawer MyStuff called FunTest.java
-
- Try this:
-
- Open up a shell
- cd to Java:MyStuff
- type:
- javac FunTest.java
- this will compile the script
- now type:
- java FunTest
- this will run the script
-
- Now go buy a book on JAVA !!!
-
- HAVE FUN
-
- Pootle
-
-