Issue Details (XML | Word | Printable)

Key: MPNSIS-11
Type: Task Task
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Geoffrey De Smet
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x NSIS Plugin

AssertJRE function

Created: 09/Oct/04 07:55 AM   Updated: 14/Apr/05 08:13 PM
Component/s: None
Affects Version/s: 1.0
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
There is an AssertJavaHome script that asserts if there is a JDK installed.
End-user projects don't need the JDK, just the JRE. (JDK installs the JRE too, in the latest versions even seperatly in Program Files).
An AssertJRE script would be usefull, opening http://java.com if they don't have a JRE.
The AssertJavaHome could even open http://java.sun.com, although I am unsure if installing the latest JDK actually sets the JAVA_HOME automatically.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
dion gillard added a comment - 11/Oct/04 12:18 AM
How should this be implemented? Registry lookup? File (java.exe) in path?

Geoffrey De Smet added a comment - 19/Dec/04 02:25 PM
I don't know, but izpack's jvm installer does it I think (it is also open source).

After I do some features for simplegamenet, I 'll look into creating an izpack plugin for maven, if no one started yet to see if it's better then nsis.