Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   RoboRio Java Installation Problem (http://www.chiefdelphi.com/forums/showthread.php?t=133014)

DarkRune 16-01-2015 19:34

RoboRio Java Installation Problem
 
Hello,

Our programmer is currently trying to install java on the roboRio to test some code. However, he is turning up with this error:

java.io.FileNotFoundException:
C:\Windows\.\ejdk-8u6-fcs-b23-linux-arm-vfp-sflt-12_jun_2014.tar.gz(Access is denied)

After this error, we went to Oracle's website to directly download the proper JDK. However, it isn't available anymore.

Any suggestions on what to do?

ayang548 16-01-2015 20:09

Re: RoboRio Java Installation Problem
 
This is the site where you can download it.
http://www.oracle.com/technetwork/ja...ads/index.html

This should work.

fsilberberg 17-01-2015 00:24

Quote:

Originally Posted by DarkRune (Post 1429400)
Hello,

Our programmer is currently trying to install java on the roboRio to test some code. However, he is turning up with this error:

java.io.FileNotFoundException:
C:\Windows\.\ejdk-8u6-fcs-b23-linux-arm-vfp-sflt-12_jun_2014.tar.gz(Access is denied)

After this error, we went to Oracle's website to directly download the proper JDK. However, it isn't available anymore.

Any suggestions on what to do?

Where are you running the installer from? That log says you're running it from the windows directory, which definitely won't work. Please run it from the ~/wpilib/tools directory.

jds2001 17-01-2015 15:10

Re: RoboRio Java Installation Problem
 
Just for some visibility here, I had some problems deploying Java as well. Our school requires you to use a proxy to connect to the Internet, and while my browser and everything works fine, for some reason the installer was unable to download the JRE (just gave me a white box where the webpage is supposed to be). Used the link above to download and selected the "Already Downloaded" option and everything works fine.

I'm not sure if whatever HTTP Java library that's used honors system proxy settings or not, but it seems not.

Quote:

17/Jan/2015 14:55:43,749- InternetController: Starting internet check
17/Jan/2015 14:55:44,638- InternetController: Internet check successful, moving to download
17/Jan/2015 14:55:45,590- DownloadController: Loading download page page
17/Jan/2015 14:55:45,591- DownloadController: Loading download page page
17/Jan/2015 14:55:47,891- DownloadController: Loading download page page
17/Jan/2015 15:00:28,081- InternetController: Starting internet check
17/Jan/2015 15:00:29,417- InternetController: Error when attempting to connect to the internet
17/Jan/2015 15:06:02,789- ErrorController: Exiting from error screen

fsilberberg 17-01-2015 20:20

Hmm, that is odd that Java isn't picking up the proxy. I was under the impression that the JavaFX webview would pick that up automatically, but I'll need to look into it. In the meantime, here's the link: http://www.oracle.com/technetwork/ja...ads/index.html. You need to download the Soft Float package. You should be able to use the instructions in the Java installer, just with your own web browser. After you download it, just use the already downloaded option on the second screen and point it at that downloaded file.

seshaw415 29-01-2015 18:42

Re: RoboRio Java Installation Problem
 
Thanks for your help! Will try.

(From the programmer on 4159)

Joe Ross 30-01-2015 19:48

Re: RoboRio Java Installation Problem
 
Quote:

Originally Posted by seshaw415 (Post 1435812)
Thanks for your help! Will try.

(From the programmer on 4159)

Since Fred posted the link, Oracle updated the jdk and his link points to the new version, which doesn't work with java-installer. Use this link instead: http://www.oracle.com/technetwork/ja...6-2406243.html

nisvana 29-01-2016 14:08

Re: RoboRio Java Installation Problem
 
We are facing a somewhat separate issue. We are able to download the jdk and the jre is extracted correctly. When java installer tries to connect to roborio and install the jre, it fails with:
java.io.IOException: Error when extracting the tar gz: exit code 2

We have confirmed that jre.tar.gz is present in the wpilib/tools/ directory?
Any pointers

fsilberberg 30-01-2016 07:25

Quote:

Originally Posted by nisvana (Post 1532061)
We are facing a somewhat separate issue. We are able to download the jdk and the jre is extracted correctly. When java installer tries to connect to roborio and install the jre, it fails with:
java.io.IOException: Error when extracting the tar gz: exit code 2

We have confirmed that jre.tar.gz is present in the wpilib/tools/ directory?
Any pointers

Could you please post the log? It's hard to help with only that to go on.

java4first 31-01-2016 10:04

Re: RoboRio Java Installation Problem
 
Just another hint ... since the installer likes to delete the jar file after it gets it installed on the roboRIO - make sure (once you do manage to get the copy of it from the Oracle website) to keep an archive copy somewhere else, or you'll keep having the same problem ...

fsilberberg 31-01-2016 12:37

Quote:

Originally Posted by java4first (Post 1532850)
Just another hint ... since the installer likes to delete the jar file after it gets it installed on the roboRIO - make sure (once you do manage to get the copy of it from the Oracle website) to keep an archive copy somewhere else, or you'll keep having the same problem ...

What? It doesn't do that, it keeps a copy of the generated JRE in the folder it was run from (usually the tools folder), along with an md5 has of the created JRE for integrity checking.

Tyler_T 04-02-2016 18:30

Re: RoboRio Java Installation Problem
 
1 Attachment(s)
I'm having the same "Access is Denied" issue. I've downloaded the correct file to put on the RoboRio and the Java Installer program will unpack the file but the it goes to this screen:
Attachment 19974
When I open click "open folder" to get to the log file, it opens my System32 directory. There is a "LogFiles" folder but it contains other folders that seem to have nothing to do with the Java Installer. Any suggestions on how to fix this or find my log file?

fsilberberg 04-02-2016 20:20

How are you running the installer? If it's opening the system32 directory, that means it's running from there, and not from the wpilib tools directory. It won't work if run from there, as regular programs do not have write access there.

Tyler_T 06-02-2016 10:19

Re: RoboRio Java Installation Problem
 
Originally I found the Installer in "C:\Users\TylerT" and it would not run from there, I've also tried running the installer from my desktop but I have the same problem.

fsilberberg 06-02-2016 11:18

You mean it wasn't in the wpilib tools directory? Do you have the plugins installed? If so, could you try running it from the console in the wpilib tools directory? The command is java -jar java-installer.jar.


All times are GMT -5. The time now is 12:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi