You are here

Janel: Java Native Executable / Launcher

7 posts / 0 new
Last post
ekin_116
Offline
Last seen: 7 years 2 weeks ago
Joined: 2005-12-29 14:26
Janel: Java Native Executable / Launcher

Janel is a Java native executable and launcher for Windows. Launch your Java application just like other Windows executables. Choose console or non-console application, the location of the JVM, and other properties. The process name is same as .exe name.
http://sourceforge.net/projects/janel/

Maybe we can let java applications running on Portable devices without JRE installed on the host PC.

reference:
http://thingamablog.sourceforge.net/phpBB2/viewtopic.php?t=16

Hope this can help you guys!

boberang
Offline
Last seen: 16 years 9 months ago
Joined: 2006-11-03 12:03
Being able to run java

Being able to run java applications w/o a JRE on the host PC would be great!!!

Go Long and Prosper

allquixotic
Offline
Last seen: 17 years 5 months ago
Joined: 2006-02-27 09:29
You can also use version 0.8

You can also use version 0.8 of javaCompiler (still available on the net) to use GCJ 4.2.0 to compile your Java programs into a native EXE. 99% of the work of javaCompiler comes from the MINGW project, but the greedy project leader for javaCompiler (previously http://javacompiler.sourceforge.net ) had the audacity to make his project closed source and call it "NativeJ"... what an @$$! Blum

What's more preposterous? That he "improved" NativeJ in 0.9 by removing SwingWT saying "it doesn't work", or that he thinks he's going to implement AWT/Swing for libgcj? Blum

Anyway, if you have the program you want to compile readily available, you can cram it into an exe, delete any JAR files, and you have no dependencies on any JVM. Just keep the exe in the same folder as the SWT dll (plus any additional DLLs the program requires). GCJ works in such a way that you can also use ahead-of-time compilation on Java bytecode (.class files within OR outside a jar file), i.e. even if you don't have the Java source code.

Another option, since Marco Trudel is not my favorite person right now, might be to download the IBM Java 1.5-compliant JVM, which is a part of their "Eclipse developerWorks package" (free once you register with IBM).

Using the PStart program, along with nircmd, you can basically create a single double-clicky-click on your menu to launch a JAR file with IBM's jvm. Their JVM seems very high quality and runs nice programs such as Eclipse, Limewire, Azureus, PasswordManager, and BeanShell.

Basically there are tons of various ways to effectively use your own JVM or use ahead-of-time compilation to your advantage, so you can run Java programs on a portable device. Supplying your own browser plugin might be difficult/impossible on certain restricted systems though, depending on your permissions to change the system VM recognized by the Java Plugin control panel applet.... I found out the hard way that, even if you replace the Java DLL (npjavaoji....dll) from the IBM SDK, you still get the "system default vm" when you run *zilla.

oyster
Offline
Last seen: 15 years 9 months ago
Joined: 2006-04-28 01:52
since java is opensourced,

since java is opensourced, is it possible to do a release-tool, whcih acts like http://py2exe.sf.net, http://py2exe.sf.net, so that it searches all the used java libs, copies them out and binds to a standalone executable file. This file is much smaller them a completed JRE, and can run on a machine without/with JRE

John T. Haller
John T. Haller's picture
Online
Last seen: 44 min 19 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not yet

Java *will* be open sourced sometime in the first half of 2007. The current version is still closed/proprietary. And the one that is opened will probably be a new release as Sun will have to replace some code in the current one.

Sometimes, the impossible can become possible, if you're awesome!

marcos.macedo
Offline
Last seen: 17 years 5 months ago
Joined: 2006-11-21 11:51
You are Wrong. The JVM is

You are Wrong.
The JVM is opensourced with a GPL licence. You can make it right now.

https://openjdk.dev.java.net/

John T. Haller
John T. Haller's picture
Online
Last seen: 44 min 19 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not, it isn't

Nope. It's still 100% proprietary rights now. It *WILL* apparently be released under the GPL sometime in the first 1/2 of next year. Sun will probably have to rewrite sections of code that they don't own and can't GPL before that time. They've released the source to most of it... and you may be able to compile that into a working JVM. But Sun's JVM is still proprietary binaries.

Sometimes, the impossible can become possible, if you're awesome!

Topic locked