Changes between Version 8 and Version 9 of JavaApps


Ignore:
Timestamp:
Jun 6, 2008, 1:45:12 AM (16 years ago)
Author:
maire
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JavaApps

    v8 v9  
    11= Using BOINC with Java applications =
    2 
    3 == Use JSmooth ==
    4 
    5 [http://jsmooth.sourceforge.net/ JSmooth] is an open-source tool for converting Java applications
    6 to Windows .exe files.  To quote from their web site:
    7 
    8   JSmooth is a Java Executable Wrapper. It creates native Windows launchers (standard .exe) for your Java applications. It makes Java deployment much smoother and user-friendly, as it is able to find any installed Java VM by itself. When no VM is available, the wrapper can automatically download and install a suitable JVM, or simply display a message or redirect the user to a web site.
    9 {{{
    10 #!comment
    11 == Use a C++ wrapper program ==
    12 }}}
    132
    143== How to run a java app with BOINC - a simple wrapper approach without using BOINC api ==
     
    176You need:
    187 - The [WrapperApp wrapper] application from boinc_samples. Make sure it's the latest version.
    19  - the [FileCompression#boinc-zip boinc_zip] library
    20  - a Java Virtual Machine. On a windows PC with Java installed, you'll usually find it e.g. in c:\Program Files\Java\jre<version>
    21  - Jsmooth to generate a launcher. Use version 0.9.9-6, since version 0.9.9-7 has a bug: every time it runs, a (small) jar file is left behind in the temp directory of the users machine..
     8 - The [FileCompression#boinc-zip boinc_zip] library
     9 - A Java Virtual Machine to distribute with your science application. On a windows PC with Java installed, you'll usually find it e.g. in c:\Program Files\Java\jre<version>
     10 - Jsmooth to generate a launcher. Use version 0.9.9-6, since version 0.9.9-7 has a bug: every time it runs, a (small) jar file is left behind in the temp directory of the users machine.
    2211
    2312What needs to be done:
    24  - Create a launcher for your executable jar file using JSmooth (just a launcher, don't wrap everything into one exe file.. otherwise JSmooth extracts the whole app into a temp dir every time the app runs, and the files are only deleted on reboot).
     13 - Create a launcher for your executable jar file using JSmooth (Use the JSmooth option to just create a launcher, don't wrap everything into one exe file. otherwise JSmooth extracts the whole app into a temp dir every time the app runs, and the files are only deleted on reboot).
    2514 - Use the [WrapperApp wrapper] to start the launcher you created.
    2615 - JSmooth has a lot of options, and some of them are important for everything to run smoothly, so it's probably best to test the application at this stage in an environment where you know that all computers have Java installed.