https://github.com/roxasshadow/sjos
(A) Stupid Java OS(?)
https://github.com/roxasshadow/sjos
Last synced: about 1 month ago
JSON representation
(A) Stupid Java OS(?)
- Host: GitHub
- URL: https://github.com/roxasshadow/sjos
- Owner: RoxasShadow
- Created: 2011-12-04T21:04:11.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-12-08T17:27:50.000Z (over 14 years ago)
- Last Synced: 2025-09-15T02:44:19.688Z (10 months ago)
- Language: Java
- Homepage:
- Size: 129 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Yo dawg, I heard you like OS, so I put an OS in your OS so you can use an OS while you use an OS.
=============================
Run Build.sh to compile ModuleCompiler and sJOS.
You need Apache ANT (install it with your package manager (like APT) or http://ant.apache.org/bindownload.cgi).
-----------------------------
How compile a module:
`java -jar ModuleCompiler.jar Cat.java Date.java Yes.java [...]`
ModuleCompiler will generate a file .class for each module.
After, move them in a folder called `modules` in the same folder in which is contained sJOS.
`java -jar sJOS.jar [+ModuleName]`
-----------------------------
Please, when you code a module:
The input is simply the param `String[] input`. So manage it how you want
Call it with a unique and lowercase word (except for file/class name, which are capitalized), without using symbols (eg.: cat => Cat.java)
Each module musts extends Module class
Follow the pratice used in my modules (eg.: makeHelp, makeVersion, etc)
-----------------------------
Happy hacking!
~ Giovanni Capuano