DMelt:General/2 Running DMelt
DataMelt (DMelt) can be used in a GUI mode, or in a batch mode.
You can run DMelt using several approaches. Launch the DMelt IDE as:
For Linux / Mac OS:
If you use "bash" for the console, type:
On Mac, it is very common to type "bash" first.
Run (double click) the file:
For small-screen computers, you can run dmelt_porto.sh (Linux/Mac) or dmelt_porto.bat (Windows). You can also run the DMelt without execution scripts as this:
java -jar dmelt.jar
Read section DMelt IDE about how to work with the DMelt IDE.
One can execute scripts without launching the DMelt IDE. Your script should have the correct file extension:
- ".py" - for Jython scripts
- ".goovy" - for Groovy scripts
- ".rb" - for JRuby scripts
- ".bsh" - for BeanShell scripts
- ".java" - for Java files
- ".m" - for Octave files
Here are examples:
dmelt_batch.sh file.py # to launch Jython/Python script dmelt_batch.sh file.groovy # to launch Groovy script dmelt_batch.sh file.rb # to launch JRuby/Ruby script dmelt_batch.sh file.bsh # to launch BeanShell script dmelt_batch.sh file.java # to launch Java code dmelt_batch.sh file.m # to launch Octave script
Similarly, use dmelt_batch.bat for Windows.