Google

Friday, March 14, 2008

Testing java webstart on Apache on Windows

Download and install Apache for windows on Vista.

The document root is:

C:\Program Files\Apache Software Foundation\Apache2.2\htdocs


Edit this file:

C:\Program Files\Apache Software Foundation\Apache2.2\conf\mime.types

by inserting this line:

application/x-java-jnlp-file jnlp



Run the stop command as Administrator - right click on the stop icon. In the context menu, click on 'Run As Administrator'.

Then run the start command as Administrator.

Copy the entire contents of 'dist' from Netbeans into the 'htdocs' folder.

Fire up a browser and navigate to:

http://localhost/launch.html