The workspace contains two folders by default, where:
src
: the folder to maintain sourceslib
: the folder to maintain dependencies
The workspace contains two optional
folders, where:
jvm_11
: the folder contains compiled classes for jvm 11jvm_17
: the folder contains compiled classes for jvm 17-
- run these if you have older jdk or jvm
-
- You can also delete these folders
finally this workspace contains srp
folder, that contains a few scripts, These are: (they are in both .bat and .sh formats)
clear
compile
run
dev
-
- Dont run these from the srp folder directly
-
- Copy them into the main folder where
src
andlib
folder exist
- Copy them into the main folder where
-
-
- then you can run them directly by clicking or from command prompt relatively
-
srp\run.batRunning "run.bat" directly from main/master folder if the bat file is also in the main/master folder (or you can run it by double clicking {but not from srp folder !!} )
run.bat
run these bat[windows] or bash[linux] script in this order
- clear [ clears the previous compiled classes ]
- compile [ compiles the "*.java" files --> "*.class" files ]
- run [ starting with this will work; cause the compiled classes are given ]
https://github.com/Miraj13123/java-default/tree/main
https://github.com/Miraj13123/java-default
https://github.com/Miraj13123/java-advanced/tree/main
https://github.com/Miraj13123/java-advanced
https://github.com/Miraj13123/java-setup/tree/main