
The exception stacktrace is: .UndefinedVariableException: installer:linuxJavaHomeġ3:03:08 Error log: /home/administrator/installer/install4jError2195873440024941405.logġ3:03:08 .UndefinedVariableException: installer:linuxJavaHomeġ3:03:08 at .InstallerVariables$InstallerReplacementCallback.handleError(InstallerVariables.java:971)ġ3:03:08 at .InstallerVariables$InstallerReplacementCallback.getReplacement(InstallerVariables.java:950)ġ3:03:08 at .StringUtil.replaceVariable(StringUtil.java:68)ġ3:03:08 at .InstallerVariables.replaceVariables(InstallerVariables.java:337)ġ3:03:08 at .InstallerVariables.replaceVariables(InstallerVariables.java:326)ġ3:03:08 at .InstallerVariables.replaceVariables(InstallerVariables.java:322)ġ3:03:08 at .InstallerVariables.replaceVariables(InstallerVariables.java:362)ġ3:03:08 at .AbstractBean.replaceVariables(AbstractBean.java:89)ġ3:03:08 at .(RunExecutableAction.java:58)ġ3:03:08 at .(RunExecutableAction.java:292)ġ3:03:08 at .(SystemInstallOrUninstallAction.java:29)ġ3:03:08 at .ContextImpl$7.executeAction(ContextImpl.java:1668)ġ3:03:08 at .ContextImpl$7.fetchValue(ContextImpl.java:1659)ġ3:03:08 at .ContextImpl$7.fetchValue(ContextImpl.java:1656)ġ3:03:08 at .execute(FetchObjectAction.java:14)ġ3:03:08 at .(HelperCommunication.java:274)ġ3:03:08 at .(HelperCommunication.java:259)ġ3:03:08 at .(HelperCommunication.java:187)ġ3:03:08 at .(HelperCommunication.java:170)ġ3:03:08 at .ContextImpl.performActionIntStatic(ContextImpl.java:1656)ġ3:03:08 at .InstallerContextImpl.performActionInt(InstallerContextImpl.java:151)ġ3:03:08 at .ContextImpl.performAction(ContextImpl.java:1103)ġ3:03:08 at .(Controller.java:368)ġ3:03:08 at .(Controller.java:334)ġ3:03:08 at .(Controller.java:405)ġ3:03:08 at .(Controller.java:339)ġ3:03:08 at .(Controller.java:195)ġ3:03:08 at .(Controller.java:116)ġ3:03:08 at .(Controller.java:73)ġ3:03:08 at .nInProcess(Installer.java:59)ġ3:03:08 at .Installer.main(Installer.java:46)ġ3:03:08 at 0(Native Method)ġ3:03:08 at (NativeMethodAccessorImpl.java:62)ġ3:03:08 at (DelegatingMethodAccessorImpl.java:43)ġ3:03:08 at .invoke(Method.java:498)ġ3:03:08 at .launch(LauncherEngine.java:65)ġ3:03:08 at .UnixLauncher.main(UnixLauncher. I refined the problematic point and it happens on the 1st Set a variable screen.
.INSTALL4J UPDATE
Rename it back to JDownloader.jar Delete the file Core.jar and the folders tmp and update and start JDownloader.

My only problem is when I'm building and running our installer from JENKINS with silent mode (-q), I'm always getting this UndefinedVariableException. In your JDownloader folder there should be a file.

.INSTALL4J CODE
Moreover, I've also tried debugging my code to be sure and it seems OK. It opens the file in binary mode meaning it wont break anything inside the installer when it saves) : -> set number (Shows line numbers) Go down to around line 600, it should look. theinstaller.sh (The -b is very important here.
.INSTALL4J DOWNLOAD
I checked my code on multiple Linux environments and the variable is defined just fine with the java home path. Download the app from the website (.sh file) Locate the file in your system.

I know there has been a bug on this subject, but it seems I'm still getting this error when the installer running on Linux environment (on windows it working fine).
