Menu

#95 Batch file enhancement

1.5.2
open
nobody
None
Other
Other
Other
Other
Normal
2014-06-23
2014-06-23
RCW3BB
No

Hi,

I am thinking for making use of JAVA_HOME environment variable when calling the java command. However, if it doesn't exists just use java command like before. See attachment for the sample. Also, you user has the option to override the JAVA_HOME if needed. Using the environment variable this way can simplify choosing the correct java command for projectlibre.

Sample JAVA_HOME override in the attach batch file can be like this:

rem ----------------------------------------------------------------------------------------------------
rem Set the JAVA_HOME below to the 32-bit version of Java, if projectlibre is not working as expected.
set JAVA_HOME=C:\Progra~2\Java\jdk1.8.0_05
rem ----------------------------------------------------------------------------------------------------

I hope you can notify me, if you consider this or you have any questions.

Thanks,
Ronaldo Webb

1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.