Java EE 7 SDK with JDK Ubuntu Server 12.04 - linux

I am trying to install Java EE 7 SDK with JDK as see downloaded from here
I am getting this error:
"Can't connect to X11 winder server using '0' as the value of the variable"
as this is a server, I don't want to have a GUI. Is there there no other way to install this without a GUI for Ubuntu Server 12.04 ?
I am trying to get glassfish 4.0 up and working on here ultimately, with a My-Sql Cluster setup.

Download and install Glassfish as described on https://glassfish.java.net/download.html
It is just unzipping a file.

Related

Getting 'java.lang.RuntimeException: No toolkit found' error on running javafx application with java11

We recently migrated from java 8 to openJdk11. Now I am trying to test my application on windows and ubuntu with using openJdk installed on both OS. I'm able to run it on ubuntu. But same is not executing in windows10 with java11.Error_Message:
java.lang.RuntimeException: No toolkit found
at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:272)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)
at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
at java.base/java.lang.Thread.run(Unknown Source)
It is possible that JDK, which you have installed on your Windows system, doesn't include JavaFX and you should install it externally.
Read more here:
Where can I get pre-built JavaFX libraries for OpenJDK (Windows)
or
https://stackoverflow.com/a/19529820
or
Javafx: No toolkit found exception
.
I am not sure how the differnences between Linux and Windows come into place, but in general com.sun.javafx.tk.Toolkitis not accesible anymore since Java 9. So the behaviour on Windows throwing an exception is correct, and you need to find another solution for whatever you are using theToolkit-class for.

deploy webapp running in tomcat5 into tomcat7

we have an instance of tomcat running on solaris 10 version 5. we do not have a war file or anything..
I installed a new server linux centOS and i am try to deploy the app on this new server..
we do not have any war file since the app is very old running without issue since 2005 but due to some component deprecating tls 1.0 we need to adapt it and we take the opportunity to instal in a more recent version.

Installing PHP Driver for Cassandra on Windows 7 with Xampp

I'm trying to implement https://github.com/datastax/php-driver on Windows 7 with Xampp.
I've downloaded all the required dependencies.
When I execute vc_build, it hangs or stops after printing "Building and installing cpp-driver".
https://mail.google.com/mail/u/0/?ui=2&ik=3b8c444a04&view=fimg&th=14fc7e601acf5f83&attid=0.1&disp=emb&realattid=ii_14fc7e23a10fc709&attbid=ANGjdJ9tOvdH26loNZ57M5zPRWYH2opB0gvFwChzXhjoSqBiU2KFDdkVVgee2prFMOquD36Lvi5JbwDyUd0Jz_N1bJaptmH9b0ztDGv1pYA09fduehZI8fFPXXT0abI&sz=w908-h448&ats=1443579568911&rm=14fc7e601acf5f83&zw&atsh=1
Any suggestion?
Have you tried installing using pecl?
https://github.com/datastax/php-driver/blob/master/ext/README.md#installing-with-pecl

Install MonoDevelop IDE for Redhat Linux

I am trying to install and configure MonoDevelop on my Oracle VM Virtual Box. The Operating System that running on the VM is RedHat Linux.
With the help of the below link, I have installed the mono-2.10.8 and also I was able to compile and run the sample c# source code on Linux through the shell.
Here
Now, I am trying to install or configure the IDE, please advise me for the good IDEs.
Thanks for your help
Installed Monodeveloper from the below link. I chose the Operating System as CentOS
MonoDevelop
This will also install mono-opt from the home:tpokorra repo
mono-opt is the latest stable version (3.6) on mono available from Mono Project
I found this way much easier for installing mono on redhat / centos 6

Why do I need Java installed to install the JavaEE6 SDK?

New on Linux, I try to install the JavaEE 6 SDK, first step to install GlassFFish:
http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-6u4-jdk-7u11-downloads-1900532.html
When I run
sh java_ee_sdk-6u4-jdk7-linux-x64.sh
on my server, I get prompted that I should have Java installed:
Could not locate a suitable jar utility.
Please ensure that you have Java 6 or newer installed on your system
and accessible in your PATH or by setting JAVA_HOME
This is where I am confused:
is it the Java from the JDK package? But I am in the process of installing it, so of course I don't have it installed yet!
is it the Java from the JRE then? Should I install it first (and set up the environment variables etc.)?
Thx for any clarification!
In order to use any java code, including Java Development Kit, JDK, you'll need to have Java Runtime Environment, JRE. Most of the JDK package comes with JRE. JRE contains API to run Java classes.

Resources