Would like to be able to use JDK 7 with CloudBees Run#cloud. JDK 7 already is supported on CloudBees Jenkins.
Don't think it's possible now, would like an ETA...?
You can now do this by setting the "runtime" parameter:
bees app:deploy -Rjava_version=1.7 yourapp
The versions available currently are 1.6 (Java 6), 1.7 (Java 7) and 1.8 (Java 8)
You can read more about other options here https://developer.cloudbees.com/bin/view/RUN/Java+Container
Related
I am trying to upgrade jdk8 in one of my applications to java11 and I am using tomcat7. Does tomcat 7 supports jdk11 or do I need to use tomcat9?
See there http://tomcat.apache.org/whichversion.htm, Tomcat 7 supports JDK 1.6 and later
I am trying deploy my Spring Boot application to Elastic Beanstalk.
The problem that I am facing right now is, my application is developed with Tomcat 9, Java 13 and Project Facet 4.0.
So when I deployed to a AWS environment, I kept getting error. After researching, I found out AWS only support Tomcat 8, Java 8 and Project Facet 3.0.
I managed to change Project Facet 4.0 to 3.0.
But I can't add Java 8 to the project.
I downloaded the JDK 8 from Oracle, and tried open jdk-8u251-macosx-x64.dmg and run JDK 8 Update 251.pkg.
The system keeps giving me error that: "JDK 8 Update 251.pkg" can't be opened because Apple cannot check it for malicious software. This software needs to be updated.
Anyone know how to fix this problem so that I can run JRE 8 on eclipse?
Here is picture the problem that I have when I deploy the app to AWS.
An internal error occurred during: Updating AWS Elastic Beanstalk environment
Here is the thread that I tried to follow but without success:
https://github.com/aws/aws-toolkit-eclipse/issues/149.
Can you elaborate where exactly are you seeing the error? While running the JDK package or while configuration the JDK within Eclipse?
Nevertheless, I suppose your main requirement is to get your Eclipse to use Java 8.
It can be done in multiple ways.
Usually you can change Java compiler level to 1.8 from Project Settings even if you're using Java 13.
If you're using Maven, you can specify compiler source and target to Java 1.8
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Alternatively, you can download the JDK 8 zip instead of installer, unzip to any location and use that in Window > Preferences > Java > Installed JREs. Be sure to mark that one as default JRE.
I use kotlin to writing backend service with gradle and comple it for 1.8 jvm. Is it any reason to switch jvmTarget from 8 to 12 version?
This is highly based on your environment.
If you know your targeted/final environment will indeed be running Java 11+, then you can target Java 11+.
But if your environment is running Java 8, then you should target Java 8. And if you have other fellow developers that are on/stuck on Java 8, then you should probably target Java 8 as well.
Experts,I'm trying to add WildFly 9 and 10 to my Eclipse Kepler (version=4.3.2).
After googling, I made Help>Eclipse Marketplace...>JBoss Tools 4.1.2.Final.
But, there's neither WildFly 9 nor WildFly 10.
Can you please tell me what's missing ?.Thanks a lot.
Wildfly 9 and 10 support was added in version 4.3.0 of the JBoss Tools, which target Eclipse Mars.1 (4.5.1) as a running platform : http://tools.jboss.org/documentation/whatsnew/jbosstools/4.3.0.Final.html.
Your best bet is therefore to move to a more recent version of Eclipse (latest being Eclipse Neon: https://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/neonr)
We have a server that runs Sonar and previously only had Java 6 installed and everything worked fine. We now have a Java 7 project and are encountering the "Unsupported major.minor version 51.0" version when the Maven surefire plugin tries to analyze the project.
Is there a way to specify the Java version sonar should use for a specific project?
Java 7 is already installed on the server.
Thanks in advance!
Never mind found the JDK option under Advanced in the Jenkins configuration for the job.