Skip to content

Distributed Systems solutions and exam preparation for university

Notifications You must be signed in to change notification settings

semdner/Distributed-Systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solutions: Distributed Systems

Compile via Terminal:

  1. Navigate into a folder with the .java files
cd SheetX/ExerciseY/
ls
Main.java  File1.java  File2.java
  1. Compile the .java files using javac. This results in the creation of the .class files (Bytecode).
javac Main.java File1.java File2.java
ls
Main.java  File1.java  File2.java
Main.class File1.class File2.class
  1. Run the program with java and the name of the file containing the main-method
java Main

Arguments can be added after the name of the file. Those are stored in the parameter String[] args of the main-method.

java Main Argument1 Argument2

Using an IDE

Instead of compiling the files via the terminal, an IDE like IntelliJ can be used. This is especially recommended for the exercises with dependencies that are managed via Maven.

About

Distributed Systems solutions and exam preparation for university

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages