-
Notifications
You must be signed in to change notification settings - Fork 30
InstallJ2S
(Work in Progress)
Make sure you have Eclipse 4.6 or later installed (e.g. from eclipse.org or its mirrors).
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.
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
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.