You are here

CommandPromptPortable and JAVA_HOME

3 posts / 0 new
Last post
Last seen: 4 years 6 months ago
Joined: 2018-10-16 04:01
CommandPromptPortable and JAVA_HOME

Dear Gurus,

Need some help. I have both jportable and commandpormptportable installed on my portableapps platform. I needed the jportable for libreoffice.

I am using the CommandPromptPortable for some development work and needed the ability to switch to use different versions of JRE.

However, with jportable installed, the path to the jportable jre is automatically added to the path variable (right at the beginning of the path variable) whenever I launch CommandPromptPortable. Is there anyway I can disable the automatic adding of the jre path to the path variable in CommandPromptPortable?

Thank you in advance for any pointers and help

Best regards,

John T. Haller
John T. Haller's picture
Last seen: 36 min 5 sec ago
Joined: 2005-11-28 22:21
Switch, BAT

After the var is set, you could change it yourself manually. You could also adjust the commandprompt.bat within CommandPromptPortable\Data\Batch change your path or set it back to defaults. You could even add an additional java entry to the path which would be searched before the jPortable one. This is executed after the launcher automatically sets the path

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

Last seen: 4 years 6 months ago
Joined: 2018-10-16 04:01

Dear John,

Thank you very much for the reply.

Hwai An

Log in or register to post comments