directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSTUDIO-345) Studio startup could configure suitable version of Java
Date Wed, 18 Jun 2008 14:12:46 GMT

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605954#action_12605954
] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-345:
--------------------------------------------------

I've looked at what can be done within the NSIS framework we use to build the Windows installer.

We are able to detect the default JRE, but not all the available JREs.

What I propose is having a check for a default JRE installed on the system.
    If there's one, we check the version. 
        If the version is greater or equal to 1.5.0, 
        then it's ok, the installer goes on,
        else we display a page where the user is informed that a 1.5.0+ JRE is needed and
where he can point us to a correct JRE home directory and in this case an "Apache Directory
Studio.ini" file is created and contains the path to this JRE.
    In the case where we can't find any Default JRE installed we display a page where the
user is informed that a 1.5.0+ JRE needs to be installed to run Apache Directory Studio.

WDYT ?

> Studio startup could configure suitable version of Java
> -------------------------------------------------------
>
>                 Key: DIRSTUDIO-345
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-345
>             Project: Directory Studio
>          Issue Type: Improvement
>          Components: studio-rcp
>            Reporter: Sebb
>
> I have several versions of Java installed; it so happens that the default is Java 1.4.2.
> This does not seem to be a problem for Directory Server, which found the Java 1.6 JRE
and updated the .ini file accordingly, but Studio does not do this.
> The Studio installation program could be enhanced to create the appropriate entry in
the ini file.
> Failing that, I suggest that a sample ini file be included in the installation with examples
of possible entries.
> Might be a good idea to include one anyway.

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


Mime
View raw message