Go to Post The stated goals of FIRST are to inspire a culture that values science and technology. Inspiration needs Motivation. What motivates people? Competition. - Dmentor [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-01-2015, 19:34
DarkRune DarkRune is offline
Registered User
AKA: Dylan Baker-Flynn
FRC #4159 (CardinalBotics)
Team Role: Driver
 
Join Date: Aug 2014
Rookie Year: 2012
Location: San Francisco
Posts: 100
DarkRune is a jewel in the roughDarkRune is a jewel in the roughDarkRune is a jewel in the rough
Exclamation 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?
Reply With Quote
  #2   Spotlight this post!  
Unread 16-01-2015, 20:09
ayang548 ayang548 is offline
Registered User
FRC #3663
 
Join Date: Feb 2014
Location: Snohomish,WA
Posts: 3
ayang548 is an unknown quantity at this point
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2015, 00:24
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 148
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Quote:
Originally Posted by DarkRune View Post
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 17-01-2015, 15:10
jds2001 jds2001 is offline
Registered User
AKA: Jon Stanley
FRC #4263 (CyberDrgaon)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2013
Location: United States
Posts: 160
jds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud of
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

Last edited by jds2001 : 17-01-2015 at 15:12.
Reply With Quote
  #5   Spotlight this post!  
Unread 17-01-2015, 20:20
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 148
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 29-01-2015, 18:42
seshaw415 seshaw415 is offline
Registered User
AKA: Seiji Shaw
FRC #6000 (Firehawk Robotics)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Los Angeles
Posts: 8
seshaw415 is an unknown quantity at this point
Re: RoboRio Java Installation Problem

Thanks for your help! Will try.

(From the programmer on 4159)
Reply With Quote
  #7   Spotlight this post!  
Unread 30-01-2015, 19:48
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,586
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: RoboRio Java Installation Problem

Quote:
Originally Posted by seshaw415 View Post
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
Reply With Quote
  #8   Spotlight this post!  
Unread 29-01-2016, 14:08
nisvana nisvana is offline
Registered User
no team
 
Join Date: Jan 2016
Location: new york
Posts: 1
nisvana is an unknown quantity at this point
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
Reply With Quote
  #9   Spotlight this post!  
Unread 30-01-2016, 07:25
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 148
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Quote:
Originally Posted by nisvana View Post
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.
Reply With Quote
  #10   Spotlight this post!  
Unread 31-01-2016, 10:04
java4first java4first is offline
(Java) Programming Mentor
AKA: Stu
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2011
Location: Goffstown, NH
Posts: 62
java4first is an unknown quantity at this point
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 ...
Reply With Quote
  #11   Spotlight this post!  
Unread 31-01-2016, 12:37
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 148
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Quote:
Originally Posted by java4first View Post
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.
Reply With Quote
  #12   Spotlight this post!  
Unread 04-02-2016, 18:30
Tyler_T Tyler_T is offline
Registered User
FRC #5866
 
Join Date: Feb 2016
Location: Texas
Posts: 4
Tyler_T is an unknown quantity at this point
Re: RoboRio Java Installation Problem

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:
Click image for larger version

Name:	screen.PNG
Views:	20
Size:	14.6 KB
ID:	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?
Reply With Quote
  #13   Spotlight this post!  
Unread 04-02-2016, 20:20
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 148
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
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.
Reply With Quote
  #14   Spotlight this post!  
Unread 06-02-2016, 10:19
Tyler_T Tyler_T is offline
Registered User
FRC #5866
 
Join Date: Feb 2016
Location: Texas
Posts: 4
Tyler_T is an unknown quantity at this point
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.
Reply With Quote
  #15   Spotlight this post!  
Unread 06-02-2016, 11:18
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 148
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 18:07.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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