java basics @ mlab, 15-19 Nov 1999, juhuu@katastro.fi
setting up the unix stuff here are the steps that you have to take to get your java stuff to show up in a browser. you have to type in some unix commands to get things working, if you want to know more about the commands please check the small unix guide. 1. if you don't have webpages under uiah.fi, you have to make a directory for them and check that the file permissions are ok. - take a telnet connection to uiah.fi server (use a program like NiftyTelnet) - create a directory called public_html. the files placed here will appear at the address http://uiah.fi/~your_login/ - cd - mkdir public_html 2. make directory called public_html/java99 to store all the java examples - cd ~/public_html - mkdir java99 3. change the permissions so that everyone has read and execute rights to the directory. - cd - chmod -R a+rx public_html - chmod a+x . 4. insert an alias for the javac command to the .cshrc - emacs .cshrc - after the line source /etc/userfiles/cshrc-default add line alias javac /local/java-1.0.2/bin/javac (notice that backspace probably doesn't work, use delete key instead) - press ctrl-x ctrl-s to save the file, then ctrl-x ctrl-c to quit emacs - when you log in next time, you can use 'javac' command to compile java programs 5. you are ready to go!