Skip to content

Releases: michaelknigge/janel

4.2.0.140

11 Mar 14:03
Compare
Choose a tag to compare

This release introduces the new variables SELF_PARENT_NAME, MAINCLASS_NAME and MAINCLASS_SIMPLE_NAME.

SELF_PARENT_NAME is name of the directory that contains the Janel executable(without the path). If Janel executable is in a directory named bin,than SELF_PARENT_NAME contains the name of the "parent-parent" directory. In example, SELF_PARENT_NAME will contain MyApp when the Janel executable is in C:\Program Files\MyApp or in C:\Program Files\MyApp\bin.

MAINCLASS_NAME is the name of the Java main class as specified in the property janel.main.class. Note that the separator character is always the ".". So if mypackage/Start was specified as the main class,this variable will contain mypackage.Start.

MAINCLASS_SIMPLE_NAME is the simple name of the Java main class as specified in the property janel.main.class. I. e. if mypackage.Start was specified as the main class, this variable will contain Start.

4.2.0.136

08 Mar 13:55
Compare
Choose a tag to compare

This release changes the value of the variable SELF_NAME. The variable was introduced in release 4.2.0.133 and contained the name of the executable with the full path, but with the suffix ".exe" removed.

This release now changes the contents of the variable SELF_NAME. The variable does not contain the path anymore. If you need the full path and the name of the executable, you can use

${SELF_HOME}\${SELF_NAME}

Example:

  • Full name and path of your executable is C:\MyApp\Foo.exe
  • SELF_HOME will contain C:\MyApp
  • SELF_NAME will contain Foo

4.2.0.133

07 Mar 15:00
Compare
Choose a tag to compare

This release introduces the new variable SELF_NAME and the new custom property janel.environment.file.

SELF_NAME contains the path and name of the Janel executable with a trailing ".exe" removed.

With janel.environment.file you can specify a file (in properties format) that contains additional environment variables to be set before entering the Java world.

Both together might be very useful:

janel.environment.file=${SELF_NAME}.env

Using this property, you can put a ".env file" right beside your executable that contains additional environment variables to be set.

4.2.0.127

20 Dec 10:22
Compare
Choose a tag to compare

This release fixes an crash that can happen if an anti virus program add themselves as agent via Java's intrumentation API. And this release adds support for Azul Zulu JDKs.

4.2.0.112

08 Jun 18:20
Compare
Choose a tag to compare

This release fixes an issue where (for some reason) a few random Windows machines wouldn't be able to locate the required DLL awt.dll

4.2.0.101

01 Nov 20:54
Compare
Choose a tag to compare

This release fixes some minor bugs and adds support for JVMs released by https://adoptopenjdk.net/