You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Petrenko (JIRA)" <ji...@apache.org> on 2007/04/17 10:41:15 UTC

[jira] Updated: (HARMONY-2321) [classlib][launcher] Launcher fails to find properties location when bad -Djava.home is specified on the command line

     [ https://issues.apache.org/jira/browse/HARMONY-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko updated HARMONY-2321:
-------------------------------------

    Summary: [classlib][launcher] Launcher fails to find properties location when bad -Djava.home is specified on the command line  (was: [classlib] Launcher fails to find properties location when bad -Djava.home is specified on the command line)

> [classlib][launcher] Launcher fails to find properties location when bad -Djava.home is specified on the command line
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2321
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2321
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: All
>            Reporter: Gregory Shimansky
>
> A short investigation shows that launcher parses -Djava.home passed on the command line. Later on while classlib is initialized the function readClassPathFromPropertiesFile calls properties_load with file name formed as ${java.home}/lib/boot/bootclasspath.properties. If this file is not found and properties_load, then no value is assigned to org.apache.harmony.boot.class.path.
> I think this system is wrong. The launcher should not pay attention to java.home passed on the command line. The location should be found from the executable path probably. RI doesn't crash or fail its boot classes when I specify bad -Djava.home on the command line.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.