Hosting web-app which is compiled in Sun JDK 1.6 - heroku

I am looking at Java/J2EE hosting options. I looked around and found AWS and more but Heroku seems to fit well for me. Especially because of the clarity and documentation.
But going through their docs, I came across the "Prerequisites" and it said that :
> Your application must run on the OpenJDK version 6, or 7 (8 is also available in beta).
Does it mean I cannot host my web-app which is compiled in Sun JDK 1.6?
Using : Sun Java 1.6, JSF-2, Spring, Hibernate, MySQL
I just want to know if my web-app with the above specifications can be hosted in Heroku.
Thanks,
Akshat

OpenJDK 6 is compatible with Sun JDK 1.6 so you should be fine. If that doesn't work for you can could bring your own JDK with you to Heroku.

Related

Trouble installing Cytoscape : App store not reachable

I have troubles installing Cytoscape.
All started from the common "The JVM could not be started" error. Hence, I downloaded the debugging "Windows.bat" script that yielded the following results :
Cytoscape System Requirements Checker for Windows
Target Cytoscape version: 3.7.2
Your Windows version is:
Microsoft Windows [version 10.0.18362.720]
Java is installed
Your system is 64 bit
Your JAVA_HOME is set to C:\Program Files\Java\jdk-14
Your Java version is at least version 8 as required
Your Java version is no higher than version 8 as required
Your Java is 64 bit as recommended
Problem: The "app" store at apps.cytoscape.org is not reachable with a timeout of 30000ms
Summary
Your system has some issues.
Please fix those and re-run this script again:
- App store at apps.cytoscape.org is not reachable
Then, it tries to determine the itinerary but stops around the 17-18 step.
Thanks a lot for your time !
Actually, you have a different problem... Cytoscape 3.7.2 is only supported on Java 8, and you have Java 14 installed. Cytoscape 3.8 (release is imminent) will support Java 11, but not Java 14. Getting the correct Java installed should allow you to run Cytoscape. The app store problem might be transitory. I would suggest trying Cytoscape 3.8 before going too far out of your way to try to debug this. We intend to release Cytoscape 3.8 today or tomorrow...
-- scooter

How do I upgrade the jre of websphere server stub?

I'm trying to connect to a remote server websphere server from my mac. I am using the websphere traditional v8.5 stub. I am able to connect to the server (my remote server is using java 8) but I am having some issues when compiling and running my code. I am getting an error saying project facet java 1.8 is not supported by WAS 8.5. I can see when I set my project facets to java 1.8 no runtimes are available. I attached the image of my project facets. I know where it says runtime compositions I need to get that up to java 1.8 instead of 1.7. I know how to do this on windows but I cannot find any info on how to do it using mac with the remote server stubs. Thanks in advance for any helpenter link description here
enter image description here
You might need to update your IDE. Java 8 wasn't supported until 8.5.5.9.

Is there a way to activate earlier Java version in Websphere Application Server 8.5?

When I was installing WAS, there was a prompt alerting me to use Java 8 by default. I aggreed, because back then it wasn't matter which version to use.
Time passed and now I have necessity to use Java 6 in one of my profiles, which is coming with the WAS by default. Since I aggreed to use newer Java, WAS working on Java 8 by default now. I searched in installation repository, but in IBM Installation Manager Java versions I need are greyed out and cannot be installed separately.
Is there a way to install Java 6 alongside Java 8 in WAS, so I could just switch between them in profiles' setting? I tried official repository for Java 6, but it is empty since IBM dropped it's support in April.
P.S. I tried to change variable JAVA_HOME in Websphere profile setting (as well as in system variables) to look at JDK 1.6 I installed separately, but then my profile refuses to start.
Java 6 is no longer supported, so the WAS Installation Manager has likely removed the option to use JDK 6. For WAS 8.5 you can use either Java 7 or Java 8.
This article talks more about Java 6 End of Support:
https://developer.ibm.com/wasdev/blog/2017/10/25/java-6-end-support/

What does JBoss EAP 7 require JDK or JRE 8?

For environments other than DEV, can I use JRE instead of JDK for JBoss EAP 7 as recommanded by Red-Hat ?
JDK and JRE both will work. With JRE some monitoring tool like jconsole,jstack,jmap,jvisualvm..etc are not available. So normally Red Hat recommend to use JDK. If you dont want to use these monitoring tool then you can go with JRE.
It's recommended to JDK while developing or testing the project, as it will give you more options.
But JRE would work fine if don't want to use other supports like monitoring tools, maven etc is not needed.

Does Apple support Java 6 yet?

A while back I released an application in Java. While I targetted it for Java 6, I realized that there was a significant Macintosh user base. At the time, Apple had not gotten around to creating a JRE 6 for their users, so I had to make the application compatible with both Java 5 and 6.
Now I've returned to that project and realize that I can't support those users any more; Sun won't let me download the JDK 5 anymore because it's end of life. So I'm caught at a crossroads; as far as I can tell, PPC Mac users still don't have a JRE 6 to use.
So I ask this question: How do I resolve this predicament? I still want to support those users, but I simply don't have a JDK with which to build. Has Apple released a JRE 6 for their PPC users? Is there an alternate way to get JDK 5 (other than becoming a business member of Sun)? Is there some alternative recommendation to supporting these users?
Regards,
-- Shirik
EDIT: Some additional info, if Apple has released Java 6 for PPC, how easy is it to get? I ask this because I'm still constantly seeing logs from my users which indicate PPC architecture with a Java 5 VM.
You could use -target 1.5 -source 1.5 with your Java 6 JDK, to generate 1.5-compatible class files.
You can download Java 5 from Sun. You just have to look in the right place.
http://java.sun.com/javase/downloads/previous.jsp - J2SE 5.0, 1.4.2, 1.3.1
http://java.sun.com/products/archive/ - all releases going back to JDK 1.1
Note that these are all existing public releases. The material you got from Sun would have said there would be no new public releases of Java 5.0. They were pointing out that if you needed patches for recently discovered security issues and other bug fixes for Java 5.0 etc, you would have to pay for them.
Obviously, JDKs for Apple platforms are not available from Sun, but this is nothing to do with the fact that Sun have "end-of-lifed" Java 5.0. The fact is that they have never been available from Sun ...
Having said that, in the long term you need to be able to migrate your application to Java 6.0, 7.0 (due out later this year) and so on. At some point you are going to have to draw the line and say "sorry ... no more updates" for the shrinking number of users with old PPC and 32-bit Intel Macs.
As far as I know, Apple has only released Java 6 for x86-64, and I'd be willing to bet my hat that they will never release Java 6 for either PPC or for plain old 32-bit x86 (note that every Mac released after about mid-2007 or so is x86-64).
Soylatte might work (I have not tried it myself).
If you want to support older platforms, including PowerPC macs, it is a good idea to write code that can run on older Java releases. These days Java 5 is a relatively safe bet, but you may want to go even further and e.g. use retroweaver to generate Java 1.4.
You can download a version of the OpenJDK 1.7 from intricatesoftware.com
it is, unfortunately, a headless build of the JDK; i.e., can't open a display, and hence can't use to run IntelliJ, but Eclipse runs on it just fine.
I'm running it on 10.5.8, on a PPC ("cheese grater",) with Eclipse 4.3.2 / Kepler, and it all seems to work fine. :-)
(though, in honesty, a new configuration on the box, so we'll see how it goes over time)

Resources