I do Java EE 6 programming since not long ago. For my application server i use glassfishV3.0.
I decided not to use the derby/JavaDB that it came with the glassfish download,so i am moving to MySql database.
I am a bit confused, i think i should install MySql 5+, but which one?
5.1
...
or 5.5(This one seem to be the latest one).
Could you recommend me which one i should choose.
And also it would be very handy a podcast, video or similar.. tutorial for the installation.
Just one more doubt:
I do my programming in a winXP work station, is there any compatibility problem?
You want the Community Edition, 5.5 is the latest so go with that.
Download here.
Installation instructions.
Using mysql with Java.
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.
Newbie to Cassandra. I understand current versions of Cassandra do not support Java 11.
Can you run Cassandra using Java 8 and access the instance with a Java application built over and running on Java 11?
If so, how can it be done? Can you show a simple example?
I'm looking to build a POC on my laptop for an L&L.
Thanks in advance for any and all assistance.
Cassandra and the application connecting to it run on different JVMs, so their versions are independent. Since the app will use a driver, you need to find one that works on Java 11. Either just try it out or search the projects' documentation for supported Java versions.
Looks like DataStax' driver is build on 9 to 14, so I would give that one a try.
I'm moving in to developing Web Apps using Java EE and the first problem I have is not knowing which Server to use! There seems to be so many to chose from!
Glassfish server seems to stand out foremost (and it's top of the list) but when I try to start Glassfish 4.1.2, I get the error GlassFish requires Java SE version 6. and I can't download Java SE 6 for MacOSX without joining the "Oracle Club".
So which Server should I use??
You're running JDK 8, as you should. You should not be downloading JDK 6. It's long past the end of its support life.
Looks like the latest is version 5. You can download it here.
It should be said that you don't need Java EE to write Java web apps. Another alternative is Spring Boot. You won't need an app server, just an executable JAR to be run on a JDK.
Are you on OSX? You can get a JDK1.6 download here: https://support.apple.com/kb/DL1572?locale=en_US
I would be very careful with JDK1.6, it's about as safe as seatbelts made from toilet paper.
I am using JDK 6, and my present database is MySQL 5.5.27.
As my data is in a tree structure I want to go for a graph database. I have a need for both in-memory and file system based datastore.
Is Neo4j compatible with Java 1.6? On their website and tutorial links, they have stated Java 7 as the requirement.
In the neo4j document it is written that:
Neo4j likes Java 1.6 JVMs and running in server mode so consider upgrading to that if you haven’t yet (or at least give the -server flag).
Details can be found here in neo4j docs.
So, this seems that it is compatible with jdk1.6.
According to the neo4j website as of now, the oldest downloadable version of the community edition is 1.9.9, and the documentation for 1.9.9 says that Oracle Java 7 is a prerequisite.
It may be possible to get older versions (e.g. a 2013 version) but you would be advised to contact Neo4j (the company) to find out a reliable place to get them.
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.