Initial Home page
commit
c773bf9b42
1 changed files with 27 additions and 0 deletions
27
Getting-Started.md
Normal file
27
Getting-Started.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Check out [Examples](insert_url) in the sidebar.
|
||||
|
||||
## The simplest way to get started:
|
||||
* [Download the .jar under releases](https://github.com/jsaasta/Froj/releases/tag/stable)
|
||||
* Create file ``helloworld.froj`` with the contents below:
|
||||
|
||||
print "Hello World";
|
||||
|
||||
* Run ``java -jar froj.jar ./helloworld.froj``
|
||||
|
||||
|
||||
## Build the .jar from source:
|
||||
|
||||
### Makefile
|
||||
|
||||
* cd to ``/src``
|
||||
* run``make compile``
|
||||
|
||||
### javac
|
||||
* cd to `/src`
|
||||
* run `javac -d ./ ./com/saasta/froj/*.java`
|
||||
* run `jar -cfm froj.jar ./META-INF/MANIFEST.MF ./com/saasta/froj/*.class`
|
||||
* Optional: Remove the .class files after creating the .jar:
|
||||
* Linux: `rm -f ./com/saasta/froj/*.class`
|
||||
* Windows(CMD): `del ./com/saasta/froj/*.class`
|
||||
* Windows(PowerShell): `Remove-Item ./com/saasta/froj/*.class`
|
||||
|
Loading…
Reference in a new issue