aspose file tools*
The moose likes Applets and the fly likes Downloading jre on Mac using codebase? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Downloading jre on Mac using codebase?" Watch "Downloading jre on Mac using codebase?" New topic

Downloading jre on Mac using codebase?

kapil Gupta
Ranch Hand

Joined: Dec 17, 2001
Posts: 89
I am loading a applet when a JSP page is accessed. Am using codebase attribute to download jre 1.4.2 if its not installed on client machine or some older version is there. The download of jre is working fine on Windows system, but nothing happens when I access the JSP on Mac OSX machine. How can I download jre on Mac OSX, panther?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39537
All versions of OS X are shipped with Java, so there shouldn't be a need to download the JDK. Older versions (up to 10.2, I think) shipped with 1.3, so if you require 1.4, users would have to download that. I don't think that process can be automated in the same way it can be on Windows. Mac browsers certainly don't do that automatically.

Ping & DNS - updated with new look and Ping home screen widget
kapil Gupta
Ranch Hand

Joined: Dec 17, 2001
Posts: 89
We are targetting for OSX 10.3.x. and it is shipped with JRE 1.4.1 by default. We need communication between javascript and applet and this feature java-javascript communication is not available in 1.4.1. Thats why I wanted to download JRE 1.4.2 using codebase tag
I agree. Here's the link:
subject: Downloading jre on Mac using codebase?
Similar Threads
Mac OSX Tomcat config
Taking screenshot with java applet using java robot class not working
Java Advanced Imaging API Questions
Getting set up: API and PATH
Frame.getLocation() slow to update - need realtime position