Discussion:
[apollo] build failed for 2.0.5
Sofia Robb
2016-12-09 23:55:05 UTC
Permalink
Hello,

Is anyone else getting this error when deploying? And can anyone tell me
where the compile log is? Any ideas on how to fix this?

:javac
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options
:javac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':javac'.
Compile failed; see the compiler error output for details.
Thanks,
Sofia
Nathan Dunn
2016-12-10 00:02:15 UTC
Permalink
You need to install java 8. Sorry, should have put that in the build notes.

If you are using Ubuntu 16 you should install: apt-get openjdk-8-jdk nodejs

If you are using less than that you would do something like:

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java
sudo update-alternatives --config javac

java -version
javac -version

To confirm that you’re running java 8.

If for some reason you can’t do this upgrade let me know and I can post a workaround for this release.

Nathan
Post by Sofia Robb
Hello,
Is anyone else getting this error when deploying? And can anyone tell me where the compile log is? Any ideas on how to fix this?
:javac
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options
:javac FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':javac'.
Compile failed; see the compiler error output for details.
Thanks,
Sofia
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/
Sofia Robb
2016-12-10 00:06:52 UTC
Permalink
Hi Nathan,

Thanks for your quick response. I am running CentOS7

here is what i get when i check my versions. Are these not the correct 1.8s?

java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)

javac -version
javac 1.8.0_111

Thanks,
Sofia
Post by Nathan Dunn
You need to install java 8. Sorry, should have put that in the build notes.
If you are using Ubuntu 16 you should install: apt-get openjdk-8-jdk nodejs
1. sudo add-apt-repository ppa:openjdk-r/ppa
2. sudo apt-get update
3. sudo apt-get install openjdk-8-jdk
4. sudo update-alternatives --config java
5. sudo update-alternatives --config javac
java -version
javac -version
To confirm that you’re running java 8.
If for some reason you can’t do this upgrade let me know and I can post a
workaround for this release.
Nathan
Hello,
Is anyone else getting this error when deploying? And can anyone tell me
where the compile log is? Any ideas on how to fix this?
:javac
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options
:javac FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':javac'.
Compile failed; see the compiler error output for details.
Thanks,
Sofia
This list is for the Apollo Annotation Editing Tool. Info at
http://genomearchitect.org/
If you wish to unsubscribe from the Apollo List: 1. From the address with
2. In the subject line of your email type: unsubscribe apollo | 3. Leave
the message body blank.
This list is for the Apollo Annotation Editing Tool. Info at
http://genomearchitect.org/
If you wish to unsubscribe from the Apollo List: 1. From the address with
2. In the subject line of your email type: unsubscribe apollo | 3. Leave
the message body blank.
Sofia Robb
2016-12-10 00:07:45 UTC
Permalink
Or is this 1.8 and I need 8. That would be a problem
Post by Sofia Robb
Hi Nathan,
Thanks for your quick response. I am running CentOS7
here is what i get when i check my versions. Are these not the correct 1.8s?
java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
javac -version
javac 1.8.0_111
Thanks,
Sofia
Post by Nathan Dunn
You need to install java 8. Sorry, should have put that in the build notes.
If you are using Ubuntu 16 you should install: apt-get openjdk-8-jdk nodejs
1. sudo add-apt-repository ppa:openjdk-r/ppa
2. sudo apt-get update
3. sudo apt-get install openjdk-8-jdk
4. sudo update-alternatives --config java
5. sudo update-alternatives --config javac
java -version
javac -version
To confirm that you’re running java 8.
If for some reason you can’t do this upgrade let me know and I can post a
workaround for this release.
Nathan
Hello,
Is anyone else getting this error when deploying? And can anyone tell me
where the compile log is? Any ideas on how to fix this?
:javac
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options
:javac FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':javac'.
Compile failed; see the compiler error output for details.
Thanks,
Sofia
This list is for the Apollo Annotation Editing Tool. Info at
http://genomearchitect.org/
If you wish to unsubscribe from the Apollo List: 1. From the address with
| 2. In the subject line of your email type: unsubscribe apollo | 3. Leave
the message body blank.
This list is for the Apollo Annotation Editing Tool. Info at
http://genomearchitect.org/
If you wish to unsubscribe from the Apollo List: 1. From the address with
| 2. In the subject line of your email type: unsubscribe apollo | 3. Leave
the message body blank.
Nathan Dunn
2016-12-10 00:09:03 UTC
Permalink
No . . your versions are correct.
Post by Sofia Robb
Or is this 1.8 and I need 8. That would be a problem
Hi Nathan,
Thanks for your quick response. I am running CentOS7
here is what i get when i check my versions. Are these not the correct 1.8s?
java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
javac -version
javac 1.8.0_111
Thanks,
Sofia
You need to install java 8. Sorry, should have put that in the build notes.
If you are using Ubuntu 16 you should install: apt-get openjdk-8-jdk nodejs
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java
sudo update-alternatives --config javac
java -version
javac -version
To confirm that you’re running java 8.
If for some reason you can’t do this upgrade let me know and I can post a workaround for this release.
Nathan
Post by Sofia Robb
Hello,
Is anyone else getting this error when deploying? And can anyone tell me where the compile log is? Any ideas on how to fix this?
:javac
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options
:javac FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':javac'.
Compile failed; see the compiler error output for details.
Thanks,
Sofia
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/
Nathan Dunn
2016-12-10 00:08:52 UTC
Permalink
The version looks perfect.

Did you download directly from the release page or do a git update?

Nathan
Post by Sofia Robb
Hi Nathan,
Thanks for your quick response. I am running CentOS7
here is what i get when i check my versions. Are these not the correct 1.8s?
java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
javac -version
javac 1.8.0_111
Thanks,
Sofia
You need to install java 8. Sorry, should have put that in the build notes.
If you are using Ubuntu 16 you should install: apt-get openjdk-8-jdk nodejs
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java
sudo update-alternatives --config javac
java -version
javac -version
To confirm that you’re running java 8.
If for some reason you can’t do this upgrade let me know and I can post a workaround for this release.
Nathan
Post by Sofia Robb
Hello,
Is anyone else getting this error when deploying? And can anyone tell me where the compile log is? Any ideas on how to fix this?
:javac
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options
:javac FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':javac'.
Compile failed; see the compiler error output for details.
Thanks,
Sofia
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/
Sofia Robb
2016-12-10 00:09:47 UTC
Permalink
I curled from the release page

https://github.com/GMOD/Apollo/archive/2.0.5.tar.gz
Post by Nathan Dunn
The version looks perfect.
Did you download directly from the release page or do a git update?
Nathan
Hi Nathan,
Thanks for your quick response. I am running CentOS7
here is what i get when i check my versions. Are these not the correct 1.8s?
java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
javac -version
javac 1.8.0_111
Thanks,
Sofia
Post by Nathan Dunn
You need to install java 8. Sorry, should have put that in the build notes.
If you are using Ubuntu 16 you should install: apt-get openjdk-8-jdk nodejs
1. sudo add-apt-repository ppa:openjdk-r/ppa
2. sudo apt-get update
3. sudo apt-get install openjdk-8-jdk
4. sudo update-alternatives --config java
5. sudo update-alternatives --config javac
java -version
javac -version
To confirm that you’re running java 8.
If for some reason you can’t do this upgrade let me know and I can post a
workaround for this release.
Nathan
Hello,
Is anyone else getting this error when deploying? And can anyone tell me
where the compile log is? Any ideas on how to fix this?
:javac
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options
:javac FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':javac'.
Compile failed; see the compiler error output for details.
Thanks,
Sofia
This list is for the Apollo Annotation Editing Tool. Info at
http://genomearchitect.org/
If you wish to unsubscribe from the Apollo List: 1. From the address with
| 2. In the subject line of your email type: unsubscribe apollo | 3. Leave
the message body blank.
This list is for the Apollo Annotation Editing Tool. Info at
http://genomearchitect.org/
If you wish to unsubscribe from the Apollo List: 1. From the address with
| 2. In the subject line of your email type: unsubscribe apollo | 3. Leave
the message body blank.
This list is for the Apollo Annotation Editing Tool. Info at
http://genomearchitect.org/
If you wish to unsubscribe from the Apollo List: 1. From the address with
2. In the subject line of your email type: unsubscribe apollo | 3. Leave
the message body blank.
This list is for the Apollo Annotation Editing Tool. Info at
http://genomearchitect.org/
If you wish to unsubscribe from the Apollo List: 1. From the address with
2. In the subject line of your email type: unsubscribe apollo | 3. Leave
the message body blank.
Nathan Dunn
2016-12-10 00:12:53 UTC
Permalink
Do you have a JAVA_HOME set appropriately?

It should pick stuff up correctly, but sometimes it will try to use the wrong one.

Mine is set to:

/usr/lib/jvm/java-8-openjdk-amd64


I imagine it will be somewhat similar for CentOS.

Nathan
Post by Sofia Robb
I curled from the release page
https://github.com/GMOD/Apollo/archive/2.0.5.tar.gz <https://github.com/GMOD/Apollo/archive/2.0.5.tar.gz>
The version looks perfect.
Did you download directly from the release page or do a git update?
Nathan
Post by Sofia Robb
Hi Nathan,
Thanks for your quick response. I am running CentOS7
here is what i get when i check my versions. Are these not the correct 1.8s?
java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
javac -version
javac 1.8.0_111
Thanks,
Sofia
You need to install java 8. Sorry, should have put that in the build notes.
If you are using Ubuntu 16 you should install: apt-get openjdk-8-jdk nodejs
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java
sudo update-alternatives --config javac
java -version
javac -version
To confirm that you’re running java 8.
If for some reason you can’t do this upgrade let me know and I can post a workaround for this release.
Nathan
Post by Sofia Robb
Hello,
Is anyone else getting this error when deploying? And can anyone tell me where the compile log is? Any ideas on how to fix this?
:javac
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options
:javac FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':javac'.
Compile failed; see the compiler error output for details.
Thanks,
Sofia
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/
Nathan Dunn
2016-12-10 00:14:38 UTC
Permalink
You can also try removing your old (7) version of java if it is installed (unless other things have dependencies).

Nathan
Post by Nathan Dunn
Do you have a JAVA_HOME set appropriately?
It should pick stuff up correctly, but sometimes it will try to use the wrong one.
/usr/lib/jvm/java-8-openjdk-amd64
I imagine it will be somewhat similar for CentOS.
Nathan
Post by Sofia Robb
I curled from the release page
https://github.com/GMOD/Apollo/archive/2.0.5.tar.gz <https://github.com/GMOD/Apollo/archive/2.0.5.tar.gz>
The version looks perfect.
Did you download directly from the release page or do a git update?
Nathan
Post by Sofia Robb
Hi Nathan,
Thanks for your quick response. I am running CentOS7
here is what i get when i check my versions. Are these not the correct 1.8s?
java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
javac -version
javac 1.8.0_111
Thanks,
Sofia
You need to install java 8. Sorry, should have put that in the build notes.
If you are using Ubuntu 16 you should install: apt-get openjdk-8-jdk nodejs
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java
sudo update-alternatives --config javac
java -version
javac -version
To confirm that you’re running java 8.
If for some reason you can’t do this upgrade let me know and I can post a workaround for this release.
Nathan
Post by Sofia Robb
Hello,
Is anyone else getting this error when deploying? And can anyone tell me where the compile log is? Any ideas on how to fix this?
:javac
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options
:javac FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':javac'.
Compile failed; see the compiler error output for details.
Thanks,
Sofia
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
Sofia Robb
2016-12-10 00:22:51 UTC
Permalink
AHHH! My $JAVA_HOME was set to my old 1.7 version!! IT works!! THANK
YOU!!!!!
Post by Nathan Dunn
Do you have a JAVA_HOME set appropriately?
It should pick stuff up correctly, but sometimes it will try to use the wrong one.
/usr/lib/jvm/java-8-openjdk-amd64
I imagine it will be somewhat similar for CentOS.
Nathan
I curled from the release page
https://github.com/GMOD/Apollo/archive/2.0.5.tar.gz
Post by Nathan Dunn
The version looks perfect.
Did you download directly from the release page or do a git update?
Nathan
Hi Nathan,
Thanks for your quick response. I am running CentOS7
here is what i get when i check my versions. Are these not the correct 1.8s?
java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
javac -version
javac 1.8.0_111
Thanks,
Sofia
Post by Nathan Dunn
You need to install java 8. Sorry, should have put that in the build notes.
If you are using Ubuntu 16 you should install: apt-get openjdk-8-jdk nodejs
1. sudo add-apt-repository ppa:openjdk-r/ppa
2. sudo apt-get update
3. sudo apt-get install openjdk-8-jdk
4. sudo update-alternatives --config java
5. sudo update-alternatives --config javac
java -version
javac -version
To confirm that you’re running java 8.
If for some reason you can’t do this upgrade let me know and I can post
a workaround for this release.
Nathan
Hello,
Is anyone else getting this error when deploying? And can anyone tell me
where the compile log is? Any ideas on how to fix this?
:javac
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options
:javac FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':javac'.
Compile failed; see the compiler error output for details.
Thanks,
Sofia
This list is for the Apollo Annotation Editing Tool. Info at
http://genomearchitect.org/
If you wish to unsubscribe from the Apollo List: 1. From the address
with which you subscribed to the list, send a message to
unsubscribe apollo | 3. Leave the message body blank.
This list is for the Apollo Annotation Editing Tool. Info at
http://genomearchitect.org/
If you wish to unsubscribe from the Apollo List: 1. From the address
with which you subscribed to the list, send a message to
unsubscribe apollo | 3. Leave the message body blank.
This list is for the Apollo Annotation Editing Tool. Info at
http://genomearchitect.org/
If you wish to unsubscribe from the Apollo List: 1. From the address with
| 2. In the subject line of your email type: unsubscribe apollo | 3. Leave
the message body blank.
This list is for the Apollo Annotation Editing Tool. Info at
http://genomearchitect.org/
If you wish to unsubscribe from the Apollo List: 1. From the address with
| 2. In the subject line of your email type: unsubscribe apollo | 3. Leave
the message body blank.
This list is for the Apollo Annotation Editing Tool. Info at
http://genomearchitect.org/
If you wish to unsubscribe from the Apollo List: 1. From the address with
2. In the subject line of your email type: unsubscribe apollo | 3. Leave
the message body blank.
This list is for the Apollo Annotation Editing Tool. Info at
http://genomearchitect.org/
If you wish to unsubscribe from the Apollo List: 1. From the address with
2. In the subject line of your email type: unsubscribe apollo | 3. Leave
the message body blank.
Nathan Dunn
2016-12-10 00:30:02 UTC
Permalink
Excellent.

Java versions can definitely be a bit of a pain. Glad it worked out.

Nathan
AHHH! My $JAVA_HOME was set to my old 1.7 version!! IT works!! THANK YOU!!!!!
Do you have a JAVA_HOME set appropriately?
It should pick stuff up correctly, but sometimes it will try to use the wrong one.
/usr/lib/jvm/java-8-openjdk-amd64
I imagine it will be somewhat similar for CentOS.
Nathan
Post by Sofia Robb
I curled from the release page
https://github.com/GMOD/Apollo/archive/2.0.5.tar.gz <https://github.com/GMOD/Apollo/archive/2.0.5.tar.gz>
The version looks perfect.
Did you download directly from the release page or do a git update?
Nathan
Post by Sofia Robb
Hi Nathan,
Thanks for your quick response. I am running CentOS7
here is what i get when i check my versions. Are these not the correct 1.8s?
java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
javac -version
javac 1.8.0_111
Thanks,
Sofia
You need to install java 8. Sorry, should have put that in the build notes.
If you are using Ubuntu 16 you should install: apt-get openjdk-8-jdk nodejs
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java
sudo update-alternatives --config javac
java -version
javac -version
To confirm that you’re running java 8.
If for some reason you can’t do this upgrade let me know and I can post a workaround for this release.
Nathan
Post by Sofia Robb
Hello,
Is anyone else getting this error when deploying? And can anyone tell me where the compile log is? Any ideas on how to fix this?
:javac
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options
:javac FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':javac'.
Compile failed; see the compiler error output for details.
Thanks,
Sofia
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/ <http://genomearchitect.org/>
This list is for the Apollo Annotation Editing Tool. Info at http://genomearchitect.org/
Loading...