Done Java part
This commit is contained in:
parent
92f533fba3
commit
20bcf7bea0
8 changed files with 25 additions and 12 deletions
6
.idea/jpa-buddy.xml
Normal file
6
.idea/jpa-buddy.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="JpaBuddyIdeaProjectConfig">
|
||||||
|
<option name="renamerInitialized" value="true" />
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -8,4 +8,7 @@
|
||||||
<option name="languageLevel" value="ES6" />
|
<option name="languageLevel" value="ES6" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectRootManager" version="2" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
<component name="ProjectRootManager" version="2" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
||||||
|
<component name="ProjectType">
|
||||||
|
<option name="id" value="jpab" />
|
||||||
|
</component>
|
||||||
</project>
|
</project>
|
16
README.md
16
README.md
|
@ -9,19 +9,19 @@ Go to [this Lab on iCorsi](https://www.icorsi.ch/course/view.php?id=16963).
|
||||||
|
|
||||||
Property | Value
|
Property | Value
|
||||||
------------ | -------------
|
------------ | -------------
|
||||||
First Name | ...
|
First Name | Claudio
|
||||||
Last Name | ...
|
Last Name | Maggioni
|
||||||
|
|
||||||
## Submission Checklist
|
## Submission Checklist
|
||||||
|
|
||||||
Please complete this checklist (turn [ ] into [X]) before you submit:
|
Please complete this checklist (turn [ ] into [X]) before you submit:
|
||||||
|
|
||||||
- [ ] I completed the above Submission Info
|
- [x] I completed the above Submission Info
|
||||||
- [ ] I solved the Java part:
|
- [x] I solved the Java part:
|
||||||
- [ ] I implemented the Java code
|
- [x] I implemented the Java code
|
||||||
- [ ] I completed java/compile.sh
|
- [x] I completed java/compile.sh
|
||||||
- [ ] I completed java/run.sh
|
- [x] I completed java/run.sh
|
||||||
- [ ] I completed java/disassemble.sh
|
- [x] I completed java/disassemble.sh
|
||||||
- [ ] I solved the C part:
|
- [ ] I solved the C part:
|
||||||
- [ ] I implemented the C code
|
- [ ] I implemented the C code
|
||||||
- [ ] I completed c/compile.sh
|
- [ ] I completed c/compile.sh
|
||||||
|
|
BIN
java/Main.class
Normal file
BIN
java/Main.class
Normal file
Binary file not shown.
|
@ -1 +1,5 @@
|
||||||
//TODO Write Java code
|
public class Main {
|
||||||
|
public static void main(final String[] args) {
|
||||||
|
System.out.println(System.getProperty("user.name"));
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# TODO Command to compile Main.java with javac
|
javac ./Main.java
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# TODO Command to disassemble the compiled Java program with javap
|
javap -c ./Main.class
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# TODO Command to run the compiled Java program with java
|
java -cp . Main
|
Reference in a new issue