Maven 1.x NSIS Plugin

AssertJRE function

Details

  • Type: Task Task
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.0
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

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.

Activity

Hide
dion gillard added a comment -

How should this be implemented? Registry lookup? File (java.exe) in path?

Show
dion gillard added a comment - How should this be implemented? Registry lookup? File (java.exe) in path?
Hide
Geoffrey De Smet added a comment -

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.

Show
Geoffrey De Smet added a comment - 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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: