I tried to use JPortable 7 u40 with JPC-rr, a DOS-emulator (http://tasvideos.org/EmulatorResources/JPC.html). Part of it starts, but it errors out before being fully loaded with the following message:
Attempted to access null pointer
call of sun.awt.shell.Win32ShellFolder2$7
call of sun.awt.shell.Win32ShellFolder2$7
invoke of sun.awt.shell.Win32ShellFolderManager2$ComInvoker
invoke of sun.awt.shell.ShellFolder
invoke of sun.awt.shell.ShellFolder
getFileSystemPath of sun.awt.shell.Win32ShellFolder2
access$300 of sun.awt.shell.Win32ShellFolder2
call of sun.awt.shell.Win32ShellFolder2$2
call of sun.awt.shell.Win32ShellFolder2$2
innerRun of java.util.concurrent.FutureTask$Sync
run of java.util.concurrent.FutureTask
runTask of java.util.concurrent.ThreadPoolExecutor$Worker
run of java.util.concurrent.ThreadPoolExecutor$Worker
run of sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3
run of java.lang.Thread
The error occurs when starting the program manually via command line as well as when using JavaPortableLauncher. This error seems to plague all virtualizing apps as it occurs also when virtualizing Java with Spoon and Thinapp, yet the program runs without a hitch when Java is installed natively.
Any fix to remedy this behaviour would be greatly appreciated.