Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
abego edited this pageJun 28, 2017 ·6 revisions

Building j2slib (The Runtime Library)

(Requires environment as described inBuilding Java2Script itself)

  • In Eclipse
    • open project 'net.sf.j2s.lib' in the Project or Package Explorer.
    • Right-click "build/build.xml" and select "Run As > Ant Build"
    • (The build will start, with output written to the Eclipse console)
    • Check the output. If it contains errors likejava.io.FileNotFoundException: ... j2slib.z.js
      • repeat: Right-click "build/build.xml" and select "Run As > Ant Build"
      • (Seeissue #15 for details)
    • In the project directory of 'net.sf.j2s.lib' you will find a directoryj2slib with the freshly build runtime library.

Symbolic/Soft Link to j2slib

By default Java2Script applications will use thej2slib installed in the plugin directory of Eclipse, at%ECLIPSE_HOME%/plugins/net.sf.j2s.lib_x.y.z/j2slib.(Details on%ECLIPSE_HOME%).

If you are frequently editing the j2slib sources you may want to replace thej2slib directory in the Eclipse directory with a symbolic/soft link to thej2slib directory in the project directory of 'net.sf.j2s.lib'. This way Java2Script applications will always use the must recently buildj2slib.

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp