Results 1 to 6 of 6
- 11-20-2010, 01:51 PM #1
Member
- Join Date
- Nov 2010
- Posts
- 3
- Rep Power
- 0
OBJECT tag to automatically install 1.6.0.22 since 1.6.018 crashes
Hi there,
Using the OBJECT tag, I've placed an applet on a webpage. I need the user to download the JRE if it's not installed, so I added this attribute to my OBJECT tag and it seems to work.
codebase="http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab"
Unfortunately, right now this causes jre 1.6.0.18 to be installed, which consistently crashes once the install has completed, requiring the user to close the browser and return before viewing the applet (known issue I believe). I therefore want the more recent 1.6.0.22 version to be installed instead, but I cannot figure out what to change the codebase attribute to accomplish this. It always seems to install 1.6.0.18! I've tried the following:
codebase="http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab"
codebase="http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=6,0,0,99"
codebase="http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=6,0,0,22"
Any tips would be immensly helpful! I've been at this for a week or so.
- 11-20-2010, 02:56 PM #2
One more casualty of the ineptitude of Oracle. The link you posted does indeed download the cab file for 6u18.
The download for 6u22 offline installer as accessed from Download Java for Windows appears to be
http://dl8-cdn.sun.com/s/ESD6/JSCDL/...5670004e4/.exe
I don't really think that'll solve your problem. but it's all I could find.
Oh, and you might want to try #Version=1,6,0,22 as Java SE 6 update x is really Version 1.6.0_x (not, as in your post, 1.6.0.18). Or even try 1,6,0,0.
db
- 11-20-2010, 02:57 PM #3
Hm, what happens when people visit your site from a non-Windows computer?
db
- 11-20-2010, 08:28 PM #4
Member
- Join Date
- Nov 2010
- Posts
- 3
- Rep Power
- 0
Unfortunately, I'm still stuck. Using ...
codebase="http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,22"
and ...
codebase="http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,0"
... yeilded the same result; it installs 1.6.0.18 instead of 1.6.0.22. :(
Incidentally, it's funny you should ask about other platforms. Actually, these are my tags as they appear in my applet webpage:
So, it seems that this covers my behind when it comes to Windows' IE, Firefox, and Chrome, but as for other platforms I really have no clue what would happen! Actually, I think the applet itself would fail. Some of it's code relies on the existence of having one of the following enviroment variables: USERPROFILE, APPDATA, TEMP, TMP. If you know of a slick way to get a temp area for all platforms, I've be greatly in your debt. My problem here is that I'm only savvy on Windows (because it's the only comp I've got for now).XML Code:<object classid="java:com.components.GameAppletWrapper.class" width="300" height="300" archive="X.jar"> <param name="type" value="application/x-java-applet;version=1.6"/> <param name="codebase" value="."/> <param name="archive" value="X.jar"/> <param name="code" value="com.components.GameAppletWrapper"/> <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="300" height="300" codebase="http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab"> <param name="codebase" value="."/> <param name="archive" value="X.jar"/> <param name="code" value="com.components.GameAppletWrapper"/> <param name="type" value="application/x-java-applet;version=1.6"/> <embed type="application/x-java-applet;version=1.6" width="300" height="300" code="com.components.GameAppletWrapper" codebase="." archive="X.jar" pluginspage="http://www.java.com/en/download/index.jsp"> </embed> </object> </object>
Anyway, if you (or anyone) has any more thoughts on how to get 1.6.0.22 to download (and not 1.6.0.18), I'd be anxious to try them out!
- 11-22-2010, 09:23 PM #5
Member
- Join Date
- Nov 2010
- Posts
- 3
- Rep Power
- 0
I thought I'd also add the bug ID where the 1.6.0.18 install crashes:
Bug ID: 6925315 After installing jre, jaureg.exe causes a runtime exception
- 11-26-2010, 06:04 AM #6
Similar Threads
-
Program crashes: NullPointerException
By d4nce2thisbeat in forum New To JavaReplies: 5Last Post: 11-20-2010, 09:33 PM -
Swing GUI crashes (using JNI)
By divs in forum AWT / SwingReplies: 4Last Post: 06-10-2010, 08:04 AM -
Multithreaded server crashes
By skarosg3 in forum Threads and SynchronizationReplies: 7Last Post: 05-26-2010, 09:24 AM -
Java crashes
By Nicole in forum Advanced JavaReplies: 2Last Post: 04-06-2009, 07:22 AM -
Java Crashes on Mac 10.3.9 not sure how to update
By patricknowow in forum New To JavaReplies: 1Last Post: 11-30-2007, 03:57 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks