Skip to content
abego edited this page Jun 28, 2017 · 9 revisions

(Work in Progress)

Install Java2Script

Make sure you have Eclipse 4.6 or later installed (e.g. from eclipse.org or its mirrors).

Expand Installation File

At (??? FIXME: Official Download-Location for Java2Script plugins ???) you'll find the most current Java2Script plugins in a zip file. The file name contains the number of the matching Eclipse version, e.g. j2s-2.0.0-v20160624-eclipse-4.6 for Eclipse 4.6.

Download and expand that zip file.

Copy plugins to Eclipse

If you have installed earlier versions of Java2Script, please remove all net.sf.j2s.* files or folders from %ECLIPSE_HOME%/plugins. (Details on %ECLIPSE_HOME%).

Copy all files and folders from the expanded zip file into %ECLIPSE_HOME%/plugins. These are the files/folders to copy:

  • net.sf.j2s.ajax_2.0.0/
  • net.sf.j2s.lib_2.0.0/
  • net.sf.j2s.core_2.0.0.jar
  • net.sf.j2s.ui_2.0.0.jar

Restart Eclipse

If you have early version of Java2Script, please add "-clean" to the arguments when starting Eclipse, to make sure the new plugins is correctly installed. For example:

  eclipse -clean

For Mac OSX you should run:

/Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse -clean

To verify if the plugins are successfully installed check the "Plug-in Details" (Help->About Eclipse SDK->Plug-in Details, or Eclipse>About Eclipse>Installation Details>Plug-ins). You should find four net.sf.j2s.* plug-ins (Provider j2s.sourceforge.net). Also expect them to be unsigned.

Clone this wiki locally