AllFreePapers.com - All Free Papers and Essays for All Students
Search

Cs1102 Lab 0 - Self-Guided Explanation

Autor:   •  March 8, 2011  •  Lab Report  •  413 Words (2 Pages)  •  1,885 Views

Page 1 of 2

Welcome to CS1102 Lab 0! This document will serve as a self-guided explanation to doing Lab 0. It will guide you on the following topics:

 Connecting to the sunfire server

 Java program editing

 Java program compilation

Java Program Compilation on sunfire

This section gives you an introduction to the sunfire machine as well as the basic Java programming environment available on this machine. The steps given will also help you to become familiar with the process of editing, compiling, and running simple Java programs.

The major steps

To compile and run a Java program on the sunfire machine, we need to go through the following steps:

1. login to the sunfire machine

2. create and modify programs using the sunfire machine

3. compile and execute Java programs

Please check that you have the following before proceed:

1. A sunfire unix account. You can create/re-enable your account by going to:

https://mysoc.nus.edu.sg/~newacct

Use your NUSNET id and password to log in.

2. An SSH Client. If you are using Windows, one option for this is the SSH Secure Shell software. You can find a copy of the software in CS1102 IVLE workbin under the "Lab Material" folder. Please download and install it.

Those of you working on Macs or Linux variants can use the "ssh" and "scp" commands in your "Terminal.app" window. The instructions below refer primarily to the Windows environment.

Section

...

Download as:   txt (2.5 Kb)   pdf (71.9 Kb)   docx (10.8 Kb)  
Continue for 1 more page »