Java 1.6 Drag and Drop JNLP launcher

October 11, 2013 by Christopher Silvertooth

Well I moved over to Mavericks this last weekend and I have to say that this breathed new life into my Macbook Pro early 2011.  Seriously, I can’t say enough how much more usable my system is under load than with 10.7 and 10.8.  As for software compatibility the apps I use on a daily basis all seem to work or mostly work with the exception of Java 7.

I know, Java, ugh! Unfortunately I need it to connect to remote boards on servers so it is kind of important.  So I installed the latest Java 7 and then tried to connect to the remote iLOM board on a server.  No dice!  All I get is a warning that looks like the following.

Screenshot 2013-10-11 08.21.25

So I continue… ya know… because I want to manage my server.

Screenshot 2013-10-11 08.21.37

Then I get this beauty telling me the certificate isn’t valid.  So I use my Google-Fu and find a few articles mentioning workarounds all to no avail.  Then I come up with the idea to install Java 1.6 on Mavericks.  So off I go.

After getting Java 1.6 installed I still needed a way to launch the correct Java to connect to the remote server.  When I try the connection to the server it always downloads a file that ends in .jnlp (pronounced – gin-nil-ep – Well that is what I say 😉 .  From there I would need to launch that file which in turn launched Java 7 and ended in disaster.  My solution however is that I created a tiny Applescript that I put in my Dock.  I then just need to drag the .jnlp onto it and voila!  My remote console launches in Java 1.6 and works flawlessly.

Just drag that .jnlp right from the downloads in safari and onto the Script.

Screenshot 2013-10-11 08.29.21

This is the script in the dock.

Screenshot 2013-10-11 08.27.54

I hope this helps someone save a bit of time.  Below is the link to the file.

Cheers,

Chris

https://dl.dropboxusercontent.com/u/13872235/Musings/Java1.6Launcher.zip

apple / Mac Fixes / tools

Comments

Be the first to write a comment.

Leave a Reply

Your email address will not be published. Required fields are marked *