Thank you for your time.Luckily I came across this StackOverflow post which provided some AppleScript to do just that and with a bit of tweaking I ended up with the following shell script which seems to do the job: ~bash #!/bin/bash rm target/DBench_macos_1_0_0.tgz /Applications/install4j\ 5/bin/install4jc TestBench.install4j title="DemoBench" backgroundPictureName="graphs.png" applicationName="DemoBench" finalDMGName="DemoBench.dmg" rm -rf target/dmg & mkdir -p target/dmg tar -C target/dmg -xvf target/DBench_macos_1_0_0.tgz cp -r src/packaging/.background target/dmg ln -s /Applications target/dmg cd target rm "$" rm -f cd. I would greatly appreciate any and all help that anyone can offer me. By doing so it is even possible to run both installer and app when user has no JRE installed on the machine. As output Install4J will create 'jre' folder on the same level where the app itself is installed. Java.io.IOException: Cannot run program "C:\Windows\system32\cmd.exe" (in directory "C:\Program Files (x86)\SmartBear\soapUI-4.0.1\bin"): CreateProcess error=267, The directory name is invalidĪt (Unknown Source)Īt (Unknown Source)Īt .(Unknown Source)Īt .(Unknown Source)Īt .(Unknown Source)Īt .(Unknown Source)Īt .(Unknown Source)Īt .InstallerContextImpl.performActionInt(Unknown Source)Īt .ContextImpl.performAction(Unknown Source)Īt .(Unknown Source)Īt .(Unknown Source)Īt .(Unknown Source)Īt .Installer.main(Unknown Source)Īt 0(Native Method)Īt (Unknown Source)Īt (Unknown Source)Īt .invoke(Unknown Source)Īt .launch(Unknown Source)Īt .main(Unknown Source)Ĭaused by: java.io.IOException: CreateProcess error=267, The directory name is invalidĪt (Native Method)Īt .(Unknown Source)Īt (Unknown Source) The idea is to pack appropriate 32bit Java as bundle and to instruct Install4J not to use user's Java and not to depend on it. It also returned the following error message in a text file: For the developer's convenience, I've taken screenshots of the error messages. I also cannot install SOAPUI 4.0.1, but for different reasons. Seems to me like Java was located after all, but process still got errors? So has anybody seen this problem and any solutions? TempFile is C:\Users\eadel\AppData\Local\Temp\e4j5E0B.tmp TempPath is C:\Users\eadel\AppData\Local\Temp\ Got JRE location C:\Program Files\Java\jre6\bin\java.exe (java exe: 1)ĬheckJavaExe (C:\Program Files\Java\jre6\bin\java.exe,, 1.6,, 1) "LoadDLL (1, C:\Program Files\Java\jre6\bin\java.exe, 1) This information about Java was found in the bottom of the file after first error:ĬheckJavaExe (C:\Program Files\Java\jre6\bin\java.exe,, 1.6,, 0)Īnd this text was added to previous after second error (after trying to locate java.exe manually): I've checked this log file twice: after first error and after second. Please define EXE4J_JAVA_HOME to point to an installed 64-bit JDK or JRE or download a JRE from. I've also tryed to locate java.exe by pressing the Locate-button on error message pop-up and pointing to Java direction (C:\Program Files\Java\jre6\bin\java.exe), but this only caused next error: "No JVM could be found on your system. However the JVM 64-bit has been installed properly before I've tryed to install SOAPUI. Installation process stops on error pop-up saying "The install4j wizard could not find a Java(TM) Runtime Environment on your system. I cannot install SOAPUI 4.0.1 on Windows 7, 64-bit.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |