Version history

Date Version Changes
13/09/2016 5.3.4
  • Added new "JvmPath" paramater in application configuration file.
08/05/2016 5.3.3
  • Added new "JvmVersion" paramater in application configuration file.
23/01/2016 5.3.2
  • Fixed a spelling error in one of the options under "Application Manifest Type".
23/04/2014 5.3.1
  • Previously, clicking on the "Add folder" button under the "Classpath" tab will abort with an error message under certain situations. This has been fixed.
07/04/2014 5.3.0
  • Added new variable substitution for "%AVAILRAM%" and "%TOTALRAM%".
09/05/2013 5.2.9
  • Added "JvmOptionsAppend" parameter to application INI file.
01/02/2013 5.2.8
  • Added new variable substitution for %DATE% and %TIME%.
  • Fixed incorrect markup in help file.
  • Added x64 EXE names for all sample projects.
22/06/2012 5.2.7
  • Added additional constraints that can be specified under the "Minimum JVM version" setting. The constraint format can be found in the help file under "Advanced topics", "Specifying the desired JVM version" topic.
21/02/2012 5.2.6
  • Previously, the environment variable substitution module will mangle a token of the form "%p". This has been fixed.
  • Previously, NativeJ will return double-quoted parameters with the quotes included. This is different from the behaviour of the default Java launcher and has been fixed.
  • Updated documentation to include information on how to escape double quotes within parameters in the application INI file.
11/11/2011 5.2.5
  • Previously, if any of the JVM or application argument fields contain one or more double quotes, it will result in error during EXE generation. This has been fixed.
  • Environment variable substitution is now performed on static and default application arguments.
08/09/2011 5.2.4
  • Previously, the 32-bit executable filename is a mandatory field, even if only the 64-bit EXE is needed. This has been fixed.
16/08/2011 5.2.3
  • Previously, when launching a project file via Windows Explorer as the first project in NativeJ, a dialog box pops up and asks if the previous project needs to be saved. This has been fixed.
15/06/2011 5.2.2
  • Added support for application INI parameter "ShowConsole" for console EXEs.
  • Fixed minimum width of window so that checkbox in embedded JARs page is not obscured.
27/04/2011 5.2.0
  • Added options to append to log files instead of overwriting them every time.
  • Ignore "Use current directory" option when generated EXE is started as a service.
07/04/2011 5.1.0
  • Removed restriction on "-X" and "-D" -only JVM options, and allow usage of all applicable JVM options.
  • Added "nativej.appini.showconsole" property.
  • Added "%APPNAME%" variable substitution in application configuration filename.
12/11/2010 5.0.4
  • Fixed handling of project resources with relative paths.
  • Fixed typo of field name in version info editor.
19/08/2010 5.0.3
  • Better cleanup of temporary files after project generation.
  • Ensure icon/splash/manifest files are present before allowing the project to be generated.
  • Previously if the icon/splash/manifest files are missing during project generation, the error message displayed does not identify the missing file. This has been fixed.
05/08/2010 5.0.2
  • Duplicate accelerator keys was found in some of the screens. This has been fixed.
  • Import logic for executable JAR files has been improved.
  • In some cases, after dismissing the project generation window, the main window may not come into focus. This has been fixed.
  • Private JVM DLL may not work if it contains certain character sequences. This has been fixed.
  • Added sample path to label of private JVM DLL field.
  • Initial sizing of application main window has been improved.
19/07/2010 5.0.1
  • Use default system font for user interface.
  • Fixed various UI-related quirks for Vista/Windows 7.
  • Item order may be jumbled at the welcome screen. This has been fixed.
  • Project may be marked as changed before option is selected from welcome screen. This has been fixed.
  • Updated screenshots in help file.
16/06/2010 5.0.0
  • New registration code is required for this major release.
  • Added NativeJ Express for casual users who need a simpler program.
  • Added ability to generate Win64 EXE.
  • Added ability to embed custom application manifest.
  • Added function to create new project from executable JAR.
  • Added ability to create/embed message sets for different locales.
  • Newlines are now supported in messages using "\n".
  • Allow micro version to be specified in minimum JVM version.
  • Added support for inter-instance invocation.
  • Make it possible to activate both splash screen display options.
  • Added buttons to make it easier to add files/folders to the classpath or embedded JAR files fields.
  • Added additional action options if suitable JVM cannot be found.
13/04/2010 4.8.10
  • Fixed loading of MSVCR71.DLL from private JRE when generated EXE is run under 64-bit Vista.
19/01/2010 4.8.9
  • Fixed loading of MSVCR71.DLL from JRE folder when DLL is not found in the system path.
20/05/2009 4.8.8
  • Added XP visual manifest to generated EXEs.
  • Fixed version info corruption in nativej.exe and nativejc.exe.
  • Fixed typo in sample.ini and documentation.
  • Default to GUI application type for project wizard.
  • Added ZIP extension as valid class library type for project wizard.
  • Disable "Next" button in project wizard when there is insufficient input to proceed.
18/03/2009 4.8.7
  • Added environment variable substitution in log file pathnames with automatic path creation.
19/06/2008 4.8.6
  • A bug has been introduced in the previous version that prevents project files from being updated. This has been fixed.
02/06/2008 4.8.5
  • When NativeJ opens a project file, project properties are truncated at 2100 characters. This has been fixed.
31/03/2008 4.8.4
  • Added new NativeJ property "nativej.extract.path" to reflect extraction path if JAR files embedding feature is used.
14/08/2007 4.8.3
  • A buffer overrun error may occur when a NativeJ-generated service is customized via command-line arguments. This has been fixed.
01/08/2007 4.8.2
  • Previously, the JVM search order defined in a project file may become jumbled up if you attempt to edit it again after reloading. This has been fixed.
13/07/2007 4.8.1
  • When a project is opened right after NativeJ is launched, multi-line field values for JVM options, classpath, embedded JAR files and service dependencies may be truncated. This has been fixed.
09/07/2007 4.8.0
  • Added ability to customize service name, description and startup type via command-line arguments.
  • Added NativeJ-specific properties that allow Java code to retrieve the service name, description and startup type when run as a service.
  • Previously, if MSVCR71.DLL is not found in the system path, NativeJ EXEs will fail to load an installed copy of JRE V6.0 (JVM V1.6). This has been fixed.
11/05/2007 4.7.12
  • If forward slashes (instead of backslashes) are used when specifying the path to a private copy of JRE V6.0 (JVM V1.6), the EXE will fail with an error that it is unable to load MSVCR71.DLL if that DLL is not found in the system path. This has been fixed.
04/04/2007 4.7.11
  • Previously, NativeJ EXEs could not handle input parameters coded in DBCS (double-byte character set). This has been fixed.
  • A bug was introduced in Microsoft security update 925902 (MS07-017) and 928843 (MS07-008). If you have installed these updates, you will see this error when you try to run NativeJ: "The system DLL user32.dll was relocated in memory. The application will not run properly. The relocation occurred because the DLL C:\Windows\System32\Hhctrl.ocx occupied an address range reserved for Windows system DLLs. The vendor supplying the DLL should be contacted for a new DLL.". This has been fixed.
07/02/2007 4.7.10
  • When using a private copy of JRE V6.0 (JVM V1.6), the EXE may fail with an error that it is unable to load MSVCR71.DLL if that DLL is not found in the system path. This has been fixed.
21/12/2006 4.7.9
  • Previously, if a generated EXE uses both embedded JAR files and application configuration file, and the latter is missing when the EXE is launched, the EXE will not extract the embedded JAR files but will terminate with an error. This has been fixed.
14/12/2006 4.7.8
  • Added "StaticOptions" parameter to application configuration file.
  • Tested with official release of JDK/JRE V6.0 (JVM V1.6).
12/12/2006 4.7.7
  • Console window is wrongly displayed for GUI apps when both System.out and System.err are set to "None". This has been fixed.
05/12/2006 4.7.6
  • Added "ShowConsole" parameter to application configuration file.
  • Added "StdOutFile" and "StdErrFile" parameters to application configuration file.
09/11/2006 4.7.5
  • Added system property nativej.csidl.personal that points to the CSIDL_PERSONAL folder.
  • Added JAVA_HOME in JDK/JRE search process.
29/06/2006 4.7.4
  • Added support for JDK/JRE V6.0 (JVM V1.6).
  • Added a new option called static arguments that are silently prepended to the default/user arguments and passed to main().
25/05/2006 4.7.3
  • Added a new option to limit execution of the generated EXE as a service only.
10/01/2006 4.7.2
  • V4.7.0 introduced a bug where console apps always default to single instance. This has been fixed. Now, you can specify whether a console app is single or multi instance, just like GUI apps.
15/11/2005 4.7.1
  • Under certain situations, a console window is displayed for GUI apps on Win95/98/Me. This has been fixed.
18/10/2005 4.7.0
  • Integrated XP manifest into EXE, so external manifest file is no longer required.
  • Added option to extract JAR files to application or application temp folder.
  • Embedded JAR files are not deleted when console program runs normally to completion. This has been fixed.
  • JAR files are extracted even during service installation/uninstallation. Although this is harmless, it is unnecessary and has been removed.
  • When loading an invalid ICO or BMP file, a ton of error messages is displayed. This has been fixed.
  • Console apps do not obey the single instance option. This has been fixed.
  • When running console apps with GUI windows, embedded JAR files may not be deleted. This has been fixed.
15/08/2005 4.6.3
  • Previously the application locale is set to system default instead of user default, which may cause a problem when the user locale is different from the system locale. This problem has been fixed.
20/06/2005 4.6.2
  • Added new property nativej.csidl.local.appdata that points to the path identified by CSIDL_LOCAL_APPDATA.
03/06/2005 4.6.1
  • Added new property nativej.csidl.appdata that points to the path identified by CSIDL_APPDATA.
23/05/2005 4.6.0
  • Added support for BEA WebLogic JRockit JDK/JRE.
  • Version information can now be added to the generated EXE.
  • The "Browse" button for project icon has been added.
  • The icon path will be automatically optimized into a relative path if it is in the same directory as the project file.
26/04/2005 4.5.9
  • In the previous version, if both stdout and stderr of a GUI executable are redirected to "None", an internal error will popup (though the application will still continue to run). This has been fixed.
20/04/2005 4.5.8
  • We identified a few cases where a Java program running as a Win32 service may hang during startup if the application is large and takes a long time to load. This has been fixed.
14/04/2005 4.5.7
  • Previously, if an environment variable involved in variable substitution contains a very long string (> 260 characters), the executable will crash. This has been fixed.
15/03/2005 4.5.6
  • Updated JVM options verification algorithm to avoid flagging certain valid options as invalid.
19/01/2005 4.5.5
  • Generated service will exit when user logs out. This has been fixed.
  • Updated copyright notice.
23/12/2004 4.5.4
  • Improved registration code verification logic.
14/12/2004 4.5.3
  • The executables generated by V4.5.0 to V4.5.2 broke compatibility with Win9x/ME. This has been fixed.
02/12/2004 4.5.2
  • Executable path is now reflected in nativej.exe.path instead of java.exe.path to avoid potential compatibility issues with Sun's properties.
  • nativejc now returns 0 on success, or -1 on failure to better integrate with third-party build tools.
  • nativejc now supports verbose mode via the -v switch.
25/11/2004 4.5.1
  • Executable path is now reflected in the java.exe.path property.
  • Console window was not displayed for console services configured to interact with the desktop. This has been fixed.
  • Ctrl-Break did not generate thread dump for console services configured to interact with the desktop. This has been fixed.
  • If the splash screen was configured to hide when application displayed a window, and a JVM error occurred, the error detail window was not brought to the foreground. This has been fixed.
05/11/2004 4.5.0
  • Added support for JDK/JRE V5.0 (JVM V1.5).
  • Added extra syntax checks for JVM options, classpath and embedded JAR files during entry.
  • Added option to always delete embedded JAR files when EXE terminates.
  • Added redirection of stdout/stderr to popup message box (for GUI applications) or event log (for Win32 services).
  • Added option to allow Win32 services to interact with desktop.
08/09/2004 4.2.3
  • Previously, if the total length of the classpath is longer than 1024 characters, the generated executable will fail when run. This has been fixed.
29/08/2004 4.2.2
  • Previously, an executable with embedded jar files will crash when a second instance is launched. This has been fixed.
11/08/2004 4.2.1
  • Added up/down re-ordering buttons in the JVM search order window.
02/08/2004 4.2.0
  • Added finer control of JVM search order.
  • Added button to run executable directly after EXE generation.
  • Output version-related warning messages during EXE generation.
  • Output extraction location of embedded JAR files during EXE generation.
12/07/2004 4.1.1
  • Previously, when the second instance of an executable with embedded jar files is run, an error message will be displayed (although the program will continue to run). This has been fixed.
05/07/2004 4.1.0
  • Generated executables have been enhanced to display startup/operational errors from the JVM such as insufficient memory, hotspot errors etc.
  • System.exit() will now be trapped and handled accordingly, so there is no need to avoid them in your Java code. Recommendations for avoiding System.exit() have also been removed from the help file.
29/05/2004 4.0.2
  • Previously, NativeJ may interact incorrectly with a native Java splash screen. This has been fixed.
  • Added frequently asked questions to help file.
03/05/2004 4.0.1
  • Previously, if a referenced environment variable is not present during substitution, the generated executable will crash. This has been fixed.
26/04/2004 4.0.0
  • Added new registration system.
  • Added XP visual style and icons.
  • Added "New Project Wizard" to simplify project creation for new users.
  • Added ability to embed JAR/ZIP files in generated executables.
  • Added ability to specify initial process priority.
  • Added ability to specify service dependencies.
  • Added ability to redirect stdout/stderr to external log files.
  • Added compression of generated executables.
  • Required fields are now highlighted in red.
  • Project icon is no longer required. If none is specified, the default icon is used.
15/03/2004 3.6.4
  • The size of the "JVM DLL" and "JVM options" text fields were wrong, resulting in the apparent inability to move to the end of the text field. This has been fixed.
29/02/2004 3.6.3
  • In this release, generated executables no longer verify the existence of each directory/file in the classpath. This conforms to the behaviour of the java.exe launcher, and allows for optional directories/files to be specified in the classpath.
09/02/2004 3.6.2
  • Fixed issue in classpath environment variable substitution when the variable contains leading and ending quotes.
28/07/2003 3.6.1
  • Fixed tab order for some panels.
15/07/2003 3.6.0
  • Added support for multiple private Java runtimes.
  • The working directory can now be set to the current directory for programs which must perform processing on files in the directory where it is started.
01/07/2003 3.5.1
  • Added AppOptions parameter to the application configuration file. This parameter allows you to specify the arguments to pass to the Java application at runtime.
23/06/2003 3.5.0
  • Changed shortcut for "Exit" command from Ctrl-X to Ctrl-E because Ctrl-X is used for text editing.
  • Updated help file to make it clearer on what we should do when copying the JRE, and how the final directory structure should look like.
  • Added more search sequences for JVM, so now you can specify to use the bundled JRE only if a suitable JRE is not already installed on the target machine. This is useful if the bundled JRE is located on a slower medium, so as the CDROM.
  • Added ability to look for private JVM DLL and classpath modules relative to the working directory. Previously, search for the private JVM DLL and classpath modules are always relative to the executable directory.
  • Added application configuration file support so that certain parameter values are resolved only when the executable is run. Currently only JVM options is supported in the configuration file.
09/06/2003 3.4.3
  • When a console program is run as a service and allowed to interact with the desktop, the console output is not enabled. This has been fixed.
  • When a working directory is specified, the "user.dir" property is not updated. This has been fixed.
  • When the splash screen is configured to be removed as soon as the Java application displays its first window, it does so even when the window is not completely displayed on screen. This has been fixed.
18/05/2003 3.4.2
  • The "Allow multiple instances" parameter is inverted i.e. when checked, it denies multiple instances and vice-versa. This has been fixed.
  • Splash screen feature is only enabled in registered versions. This has been fixed.
  • Splash screen preview is not refreshed correctly under certain situations. This has been fixed.
  • When the splash screen bitmap is larger than the preview control, the image will now be scaled and displayed proportionally within the preview control.
17/05/2003 3.4.1
  • When changing certain parameters, the changed status of the project is not updated. This has been fixed.
16/05/2003 3.4.0
  • Added ability to configure application working directory.
  • Added ability to specify startup type and description for services.
  • Added ability to call System.exit() to terminate services.
06/05/2003 3.3.0
  • You can now specify the search order for a suitable JVM. By default, NativeJ searches for a suitable JRE, followed by a suitable JDK. You can change the search order to look for the JDK first, then JRE. You can also restrict the search to the JRE or JDK only.
  • Provision is now made for environment variable substitution in the JVM options and classpath. All tokens of the form %name% are substituted with the value of the corresponding environment variable found on the target machine. A special case is %JAVA_HOME%, which will always be substituted with the actual JDK/JRE base directory on the target machine.
30/04/2003 3.2.0
  • Besides JREs, the search for a suitable JVM is now extended to JDKs installed on the target machine as well.
  • The help file is updated to include the JVM search strategy and version history.
24/04/2003 3.1.0
  • Besides searching for the current version of JRE (listed in HKLM\Software\JavaSoft\Java Runtime Environment\CurrentVersion), the generated EXE now automatically searches for all suitable JREs installed on the target machine (listed under HKLM\Software\JavaSoft\Java Runtime Environment\1.x).
10/04/2003 3.0.0
  • Added command-line version of NativeJ to integrate better into project build processes.
  • Added native splash screen support for GUI apps.
  • Major facelift of the user interface for a more modern look-and-feel.
15/03/2003 2.0.2
  • Under certain situations, when the help menu item or button is clicked, the help file is not displayed. This happens when the current directory is no longer the program directory eg. when you open a project file or icon file. It has been fixed.
07/03/2003 2.0.1
  • There is an off-by-one error in new projects such that the last message (ID 19) is missing. This error does not apply to existing projects. It has been fixed.
  • A related error is that when saving new projects, an "Index out of bounds" exception occurs. This error does not apply to existing projects. It has been fixed.
  • When running NativeJ in demo mode, the EXE generated will encounter a "Division by zero" exception under some circumstances. This has been fixed.
27/02/2003 2.0.0
  • This version is now branded under DobySoft instead of CTech Software.
  • Added new registration system so that license key can be sent out faster via automated system.
  • Changed project extension from .prj to .njp, and added project file association logic.
  • Added drag-and-drop support for project files.
  • Added toolbar.
  • Added memory of recent projects.
  • Added ability to customize/localize strings and messages in generated executables.
  • Added ability to modify service install/uninstall commands.
  • Added recursive search for .jar and .zip files within classpath directories.
  • Documentation is now in .chm format.
11/01/2003 1.0.7
  • If executable runs as Win32 service, and the "-Xrs" option is not specified for the JVM, logging out will cause the service to terminate. This has been fixed.
14/10/2002 1.0.6
  • This version supports two license types: standard and professional.
21/08/2002 1.0.5
  • Generated executables had problems with Sun JDK 1.3.0 in some cases. This has been fixed.
  • Setting the required JDK version field to > 1.2 causes generated executables to fail to run. This has been fixed.
23/06/2002 1.0.4
  • Center window on screen upon startup.
17/06/2002 1.0.3
  • Fixed a service-related bug in the generated executable. Without this fix, some Java programs which do not require a startup argument may not be able to run as a service.
09/06/2002 1.0.2
  • Fixed a minor bug with the About dialog box.
07/06/2002 1.0.1
  • During generation of executable, if icon file is invalid, display a more meaningful message.
03/06/2002 1.0.0
  • First release.