Go to Post I am committed to this program because I know it works. It gets more students (than the school average) into college, it makes better adults of the students we mentor, it makes better employees of the mentors that participate, and it makes better schools in our communities. - Al Skierkiewicz [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 09-09-2015, 17:13
thatprogrammer's Avatar
thatprogrammer thatprogrammer is offline
Registered User
AKA: Ahad Bawany
no team (None)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Florida
Posts: 610
thatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond repute
Strange build error!

Hello All,
I am having a strange error when building robot files (any other programs seem to work).
This is the error message I receive
Quote:
BUILD FAILED
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files (x86)\Java\jre1.8.0_51"
Note that I am using the run as deploy button to build the code, despite not being connected to a robot.
Anyone have an idea what's going on?
Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 09-09-2015, 20:11
orangelight's Avatar
orangelight orangelight is offline
Registered User
AKA: Alex
FRC #0548 (Robostangs)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2014
Location: Northville
Posts: 168
orangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to behold
Re: Strange build error!

Take a look at this thread
__________________


Reply With Quote
  #3   Spotlight this post!  
Unread 10-09-2015, 18:53
thatprogrammer's Avatar
thatprogrammer thatprogrammer is offline
Registered User
AKA: Ahad Bawany
no team (None)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Florida
Posts: 610
thatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond repute
Re: Strange build error!

Quote:
Originally Posted by orangelight View Post
Take a look at this thread
Even following the steps listed in that thread did not help
Reply With Quote
  #4   Spotlight this post!  
Unread 10-09-2015, 20:41
orangelight's Avatar
orangelight orangelight is offline
Registered User
AKA: Alex
FRC #0548 (Robostangs)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2014
Location: Northville
Posts: 168
orangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to beholdorangelight is a splendid one to behold
Re: Strange build error!

Quote:
Originally Posted by thatprogrammer View Post
Even following the steps listed in that thread did not help
Does it still give you the same error?
__________________


Reply With Quote
  #5   Spotlight this post!  
Unread 10-09-2015, 21:03
thatprogrammer's Avatar
thatprogrammer thatprogrammer is offline
Registered User
AKA: Ahad Bawany
no team (None)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Florida
Posts: 610
thatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond repute
Re: Strange build error!

Quote:
Originally Posted by orangelight View Post
Does it still give you the same error?
Actually, this is really strange. I just updated windows, and it now works. Wonder if Windows 10 was just not playing nice with eclipse...
Reply With Quote
  #6   Spotlight this post!  
Unread 15-09-2015, 01:31
justAdev justAdev is offline
Registered User
FRC #0004
 
Join Date: Aug 2015
Location: Van Nuys
Posts: 1
justAdev is an unknown quantity at this point
Re: Strange build error!

Quote:
Originally Posted by thatprogrammer View Post
Hello All,
I am having a strange error when building robot files (any other programs seem to work).
This is the error message I receive
Note that I am using the run as deploy button to build the code, despite not being connected to a robot.
Anyone have an idea what's going on?
Thanks!
I've ran into this problem many times and luckily I knew how to fix it every time it popped up

First make sure you have Java installed.

If you're sure you have it installed, assuming you're using windows, follow these steps:
  1. Click the start button
  2. Then right click computer
  3. Click Properties
  4. Click Advanced System Settings
  5. Click Environment Variables
  6. If you see JAVA_HOME, go to step 11, if not, click new
  7. Variable Name = JAVA_HOME
  8. Variable Value = <Location of your Java JDK> Without the <> (Usually something like C:\Program Files\Java\jdk1.8.0_25")
  9. Click Ok
  10. Restart Eclipse and You're Done!
    ================================================== =============
  11. Click JAVA_HOME
  12. Click Edit
  13. Set variable value = <Location of your Java JDK> Without the <> (Usually something like "C:\Program Files\Java\jdk1.8.0_25")
  14. Click Ok
  15. Restart Eclipse and You're Done!


I hope I could help
Reply With Quote
  #7   Spotlight this post!  
Unread 24-09-2015, 21:05
SamcFuchs's Avatar
SamcFuchs SamcFuchs is offline
Programmer
AKA: Sam Fuchs
FRC #0236 (TechnoTicks)
Team Role: Programmer
 
Join Date: Aug 2015
Rookie Year: 2014
Location: Old Lyme, Connecticut
Posts: 58
SamcFuchs has much to be proud ofSamcFuchs has much to be proud ofSamcFuchs has much to be proud ofSamcFuchs has much to be proud ofSamcFuchs has much to be proud ofSamcFuchs has much to be proud ofSamcFuchs has much to be proud ofSamcFuchs has much to be proud of
Quote:
Originally Posted by justAdev View Post
I've ran into this problem many times and luckily I knew how to fix it every time it popped up

First make sure you have Java installed.

If you're sure you have it installed, assuming you're using windows, follow these steps:
  1. Click the start button
  2. Then right click computer
  3. Click Properties
  4. Click Advanced System Settings
  5. Click Environment Variables
  6. If you see JAVA_HOME, go to step 11, if not, click new
  7. Variable Name = JAVA_HOME
  8. Variable Value = <Location of your Java JDK> Without the <> (Usually something like C:\Program Files\Java\jdk1.8.0_25")
  9. Click Ok
  10. Restart Eclipse and You're Done!
    ================================================== =============
  11. Click JAVA_HOME
  12. Click Edit
  13. Set variable value = <Location of your Java JDK> Without the <> (Usually something like "C:\Program Files\Java\jdk1.8.0_25")
  14. Click Ok
  15. Restart Eclipse and You're Done!


I hope I could help
This is what worked for me way back when I had that problem iirc. Also, I don't think it's win10. I've got win10 and no problems.
__________________
Sam Fuchs
236 TechnoTicks, Old Lyme, CT

2015 - Programming, Electrical
2016 - Lead Programmer, Co-Driver
2017 - Lead Programmer, Co-Driver
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 11:59.

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