Skip to content

Java2Script provides an Eclipse Java to JavaScript transpiler, with a nearly complete implementation of the Java Virtual Machine with AWT and Swing in JavaScript, with simple, automated parallel creation of both class files and js files. To date, over 600 applets have been converted.

License

Notifications You must be signed in to change notification settings

BobHanson/java2script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Build Directions

cd workspace (where workspace is your Eclipse Neon Workspace)
git clone https://github.com/BobHanson/java2script.git
git checkout swingjs

Then, open Eclipse, open Navigator, and hit Refresh. java2script will show up as a blank generic trunk without a name (i.e. 'trunk[]')

Eclipse Refresh

Eclipse trunk

Or, do the equivalent tasks on Eclipse's graphical git tool.

Go to net.sf.j2s.core directory, Clean Project, then export as a Deployable plug-ins and fragments.

Eclipse Deployable

Eclipse Optionsj

Core is the only thing that was affected. Hence, everything else can be built the same exact way it was built before (assuming you were using the HEAD of the master branch of j2s).

About

Java2Script provides an Eclipse Java to JavaScript transpiler, with a nearly complete implementation of the Java Virtual Machine with AWT and Swing in JavaScript, with simple, automated parallel creation of both class files and js files. To date, over 600 applets have been converted.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 94.4%
  • JavaScript 5.3%
  • HTML 0.2%
  • CSS 0.1%
  • PHP 0.0%
  • ReScript 0.0%