Skip to content

fraserlove/java-lab

Repository files navigation

Java Lab

A collection of Java applications ranging from a finite state machine interpreter to a vector drawing application.

alt text

Installation and Usage

  1. Clone the Repository:
git clone https://github.com/fraserlove/java-lab.git
cd java-lab
  1. Install Java:

Make sure a version of Java is installed on your system. Run java --version to check if you have it installed. If not, simply install java on your operating system. For instance, on macOS type:

brew install java

Each application has their own README file. Look under usage to see how to compile and run each application separately. The example below shows you how to complie and run the P2P file sharing application.

  1. Compile Java from Source:

The application can be compiled and ran using the following commands inside the project folders /src directory.

cd p2p-file-sharing/src
javac FileShareMain.java
  1. Run the Compiled Program:
java FileShareMain

About

A collection of Java applications ranging from a finite state machine interpreter to a vector drawing application.

Topics

Resources

License

Stars

Watchers

Forks

Languages