This repository has been archived by the owner on May 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Compile Different Versions of JAVA
Benjamin Sautner edited this page Mar 29, 2017
·
2 revisions
We target java 8 but you can build the client library yourself using earlier versions of java.
- sudo add-apt-repository ppa:webupd8team/java
- sudo apt-get update
- sudo apt-get install oracle-java6-installer
- sudo apt-get install maven
- sudo apt-get install git
- git clone https://github.com/bsautner/com.nimbits.git
- cd com.nimbits/
- mvn clean package
- cd nimbits_io/
- mvn clean package
- vi pom.xml to target 1.6
- mvn clean compile
- mvn clean compile assembly:single
- java -jar nimbits_io-4.0.4-SNAPSHOT-jar-with-dependencies.jar
- sudo apt-get install oracle-java7-installer
- git reset --hard origin/master
- mvn clean package
Copyright 2016 Benjamin Sautner
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.