You are here

jPortable App 1.8.0_152

3 posts / 0 new
Last post
Last seen: 6 years 2 months ago
Joined: 2017-11-27 11:18
jPortable App 1.8.0_152

My JPortable Launcher stopped working recently (probably after a Java update) with “jPortable Launcher cannot be started. You may wish to re-install to fix this issue. (ERROR: jPortable [] could not be found)”. I reinstalled both JPortable Launcher and JPortable, but the error did not go away. After looking around a bit, it seems it looks for the JPortable launcher in ...\CommonFiles\Java\bin, while the installer installs the Java binaries into ...\CommonFiles\Java\jre1.8.0_152\bin. As soon as I moved the bin directory one level up, it started to work again, so maybe a bug in the packaging/installer?

-- Mormegil

John T. Haller
John T. Haller's picture
Last seen: 4 hours 22 min ago
Joined: 2005-11-28 22:21
Installer Moves, Antivirus?

The installer extracts Java to the location your indicated but then immediately renames the files and deletes the subdirectory. Here's the custom code running post install:

Rename "$INSTDIR\jre1.8.0_152\bin" "$INSTDIR\bin"
Rename "$INSTDIR\jre1.8.0_152\lib" "$INSTDIR\lib"
Rename "$INSTDIR\jre1.8.0_152\README.txt" "$INSTDIR\README.txt"
Rename "$INSTDIR\jre1.8.0_152\release" "$INSTDIR\release"
Rename "$INSTDIR\jre1.8.0_152\Welcome.html" "$INSTDIR\Welcome.html"
RMDir "$INSTDIR\jre1.8.0_152"

If that's not happening on your machine, it's possible your antivirus or something else is locking those files and not allowing them to be renamed, at least temporarily. It works without issue on my Windows 10 x64 machine with Windows Defender. What OS and antivirus are you using?

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

Last seen: 6 years 2 months ago
Joined: 2017-11-27 11:18
Windows 10 x64 with ESET

Windows 10 x64 with ESET Endpoint Antivirus. The antivirus might have been the problem, as all other files and directories were in the correct places you indicated, only the bin directory remained in the original location. (Note however that no error was shown.)

Log in or register to post comments