You are here

CommandPromptPortable and JAVA_HOME

3 posts / 0 new
Last post
gohhwaian
Offline
Last seen: 3 months 2 weeks 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,
Hwai-An

John T. Haller
John T. Haller's picture
Offline
Last seen: 9 hours 1 min ago
AdminDeveloperModeratorTranslator
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!

gohhwaian
Offline
Last seen: 3 months 2 weeks ago
Joined: 2018-10-16 04:01
Thanks!

Dear John,

Thank you very much for the reply.

Regards,
Hwai An

Log in or register to post comments