I need some pointers to relevant information.
I'm trying to generate a Mac application bundle that contains a Java program. For Java 6 this is fairly easy.
But as far as I know, Java is no longer included with OS X, and in particular there is no guarantee that Java 7 is installed on a user's Mac computer.
Googling only brings confusion. There are hundreds of web pages that tell you how to deploy Java on a Mac, and there are dozens of tools that help you generate the application bundes. The problem is that most of these were written for creating applications that use Java 6. I have not yet found relevant information that I can use with Java 7.
So,
Where can I find information about how to deploy Java 7 applications on a Mac?
Is it possible to include the Java 7 VM in the application bundle, or do the users have to dowload and install it separately?
Related
First of all, I would like to say that I'm not a programmer and I am not experienced in the field. I was trying to set up a Minecraft server in the Google Compute Engine and I set it up successfuly. However, when I tried to switch it to a different version I could not open it because the server was running java 11. I removed it and tried a bunch of things to install Java 8 but I couldn't do it. Is there a way that i can reliably use to install java 8 to my server?
As you just pointed out, Debian 10's default and only officially supported java runtime is openjdk-11-jre.
Oracle provides their guide to download java on their website (https://java.com/en/download/help/linux_x64_install.html#download), which you can download, extract, and run.
I also found a nvidia-openjdk-8-jre package in the non-free repository of debian buster / bullseye. It exists for compatibility reasons and it's not recommendeded, but it might work.
This question already has answers here:
Difference between Java SE/EE/ME?
(14 answers)
Closed 6 years ago.
I am confused about java platforms.From the page Differences between Java EE and Java SE , java has four platforms. Has there any special things between them ? Are they use different JDKs or JREs ?
For clear my question , when I download JDK , I think I can create not only java desktop applications (with swing or javafx) but also web applications.If so ,why java says it has different platforms. If yes , it should has different jdk or jvm for each specific platform. As I think , different platforms mean I need to download different version of JDK. For instance , I need to download JDK for JavaEE platform which contains API for JavaEE.
It depends (like often).
The JDK is a development kit for Java SE including FX. So you can develop desktop applications but also web applications depending on the type of integration you prefer. The Java EE SDK contains also the Glassfish server, examples and tutorials but they are not really needed. The ME is a special minimized versions for embedded device development including special tools for that.
I am developing web application for years with a Java SE JDK only. As I normally use Spring Boot with an embedded container or install a Tomcat on demand, this works perfectly and the Java EE SDK is not needed.
I have searched the forum for my question but have not found the precise info i need..
I have two web start applications that uses 2 different versions of java.. How is it possible for these to work on the same computer one app using version 1.6.0_30 and the other 1.8.
Inside the .jnlp file you will find attribute spec. Value assigned to it inform what Java Web Start is required to use the application.
Java is backword compatible so having only version 8 you will be able to run something dedicated to version 6.
Java allows to have multiple versions on single machine and also mange them.
I am currently trying to find an application server where I could deploy my Java 8 projects. As far as I am aware, due to a bug in Glassfish 4.0 it is not possible to run any Java 8 projects on it, and Tomcat supports Java up to Java 1.7. Are there any other possibilities I am not aware of?
Wildfly 8 supports running on java 8's JRE (don't be confused by downloads page saying "Java EE7", this is about EE spec implemented).
After spending 3 solid days on this with nothing to be happy about. I'm being freaked out already. I'm a newly in java and just about getting it rolling in java ee...
Please, good people here. I am confused. I am looking for Java EE 6 SDK for mac os x lion 10.7.2 64bits.
I found on oracle's website java ee 6 sdk for unix and windows and no mac... spent tons of time on google and apple's website forums and support but found nothing pertaining to this.
Is it that mac does not need Java EE 6 SDK? or what? I already have netbeans installed and eclipse as well which I've been using during my early beginning stage in java SE.
Can anyone help?
Thanks in advance!
Mac is the Unix, did you tried shell script they provided?
Java EE is an API, not a complete implementation ( that is provided by your application server where your code is deployed to).
Hence you just need the API jars. This can, however, be avoided if you get the Netbeans+Glassfish bundle, and let Netbeans do the work by choosing an appropriate template when creating a new module.