Git Product home page Git Product logo

orto's Introduction

Orto JavaScript-based JVM

Orto is an implementation of the Java Virtual Machine implemented in JavaScript.

I'm not the original author of Orto, I just noticed that it had disappeared from the web, and had a local copy. The license file is gibberish but the HTML page mentions that Orto is "free," so I'm assuming that means it's okay to share and learn from, but without the actual license file it's unclear if you're allowed to use this in your own projects. (If anyone has a non-gibberish copy of the license file, please send a pull request.)

More about Orto: http://ejohn.org/blog/running-java-in-javascript/

Summary

(Translated by Google)

Orto is

  • Class file
  • VM (Virtual Machine)
  • Resource file. Class.getResourceAsStream (String) used in the.

Combine to produce a single HTML file.

How to use

java -jar orto.jar [options] pathNames...

Add the following recursive folder you specify a folder name pathName.

Option

Argument

Description

- The main class name

[Mandatory] Specifies the class to be run first.

MainHTML HTML file-name

Specifies the HTML file to load at startup in advance. 

This file is an HTML file that specifies the main design. 

For actual use, please read the tutorial.

-Compress

Generate a compressed HTML. Two times slower start. 

Orto is built on the assumption that the Web server in conjunction with gzip compression. 

Please use as a last resort if you absolutely can not enable gzip compression. 

is equal to 1 / 4 compression that gzip, is about 1 / 3 and applying compression Ortoar.

Language-language

Please specify the language. Japanese is ja, English is en.

-Encoding encoding name

Please specify the encoding, such as Shift_JIS.

-ScriptEmbedded

Combine embed the JavaScript and HTML JavaScript.

OutputHTML file-name

Create an HTML file with the specified file name. 

- Determine if you have not specified a file name generated from the class name in the main.

OutputScript file-name

Create an external JavaScript file specified by filename. 

- Determine if you have not specified a file name generated from the class name in the main.

-Version

Displays the version of the Orto.

For deployment to a server

Simply upload the HTML file generated by the Web server Orto, Orto application is available, we strongly recommend that you enable gzip compression for the Web server. Orto is built on the assumption that compression is enabled gzip. If you include the Apache, include the mod_gzip, please make the necessary settings. For Microsoft IIS, you have the option to enable compression gzip.

ISP (provider) services such as home advantage, really, if you can not enable gzip compression to compress option with Orto-please. Starting to generate a compressed HTML will be slower.

Example

If the class runs MonkeyTiger.class. Generate a MonkeyTiger.html.

java -jar ortoar.jar-main MonkeyTiger MonkeyTiger.class

orto's People

Contributors

robterrell avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.