java basics @ mlab, 15-19 Nov 1999, juhuu@katastro.fi
general instructions editing you can use either BBEdit or SimpleText to edit the text documents. create a local folder where to store the files. ftp you can use either the Save to FTP-server command in BBEdit or a program called Fetch to move the files to and from the uiah server. directories always create a new directory when you start doing something new. place all these directories under public_html/java99 directory. backups always when you get something done that you would like to save, make a backup directory! this is a simple thing to do in unix: - cp -R directory_name backup_directory_name file permissions if you get an error 'Forbidden, You don't have permission to access...' in the browser, you should change the permissions of the files and directories. the easiest way to do this is: - cd - chmod -R a+rx public_html compiling all the java source files should have .java extensions. to compile the files, change the location to the directory where the .java files are (cd directory_name). then use the 'javac' (java compiler) command to compile all the files. the command that compiles all the .java files in a directory is: javac *.java the resulting compiled files have .class extensions, which can be referenced in .html files.