View Single Post
  #2   Spotlight this post!  
Unread 21-01-2015, 08:33
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 146
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Re: Problems Downloading Java (New Version?)

This appears to be a bug, Oracle seems to have changed the download URL on us when they updated to 8u33. This was released yesterday, we are using the previous version 8u6. Further, the archive page to the old version seems to be 404'ing. I'll try to get this patched ASAP, but if you need to install Java within the next day, you can download it manually and run the JRECreate program with these options:
Code:
private static String[] JRE_CREATE_COMMAND = {"java",
            "-jar",
            "",
            "--dest", "JRE",
            "--profile", "compact2",
            "--vm", "client",
            "--keep-debug-info",
            "--debug"
};
Put the created JRE folder in /usr/local/FRC/jre. You can't just run the installer with your downloaded JRE file, it md5's that as well.

UPDATE:
Joe Ross pointed out another way to get the download working that allows you to download the original version and use the installer for the second half:
Quote:
Here's a procedure that should get the old version, at least until oracle stops hosting it:

In a browser, go to http://www.oracle.com/technetwork/ja...ads/index.html and download ejdk-
8u33-fcs-linux-arm-sflt.tar.gz. This makes sure all the right cookies and logins are set up.
Then go to the following link to download the old version: http://download.oracle.com/otn/java/...3/ejdk-8u6-fcs
-b23-linux-arm-vfp-sflt-12_jun_2014.tar.gz
Once you have 8u6 downloaded, you can just point the installer at it and go from there.

Last edited by fsilberberg : 21-01-2015 at 08:40.
Reply With Quote