I am using ubuntu 14.04 LTS
Having java 7 and 8 installed from oracle.
Using alternative and working with java 7 but one of my projects use java 8.
gradle build --version
returns that it works with java 7 -> since most of my projects use this version, i don't want to change this.
Solution: creating in the java 8 project, in the root directory, file named gradle.properties
inside it for example in my case :
org.gradle.java.home=/usr/lib/jvm/java-8-oracle/
this way, when you will do gradle build in this project, gradle will use this version instead of the one defined for him.
Hoped it helped,
Dor
Showing posts with label lts. Show all posts
Showing posts with label lts. Show all posts
Jun 19, 2014
Apr 2, 2014
Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_main_binary-amd64_Packages
I am using Ubuntu 12.04 LTS 64bit , Must say that i am having a lot of error issues.
Got this error above when i tried to update.
This solved that :
Got this error above when i tried to update.
This solved that :
sudo rm -vf /var/lib/apt/lists/*
Subscribe to:
Posts (Atom)