New answers tagged

1

Apache is a web server. It doesn't have a servlet/JSP engine built into it. You can install Tomcat, which is a servlet/JSP engine, and configure Apache to forward requests for servlets and JSPs to it. You should also know that Tomcat is not a full Java EE app server. It's a servlet/JSP engine, just a subset of Java EE. It doesn't have capabilities for EJBs ...


2

The standard way of indicating that a .deb package requires a Java runtime environment (the JVM, not the JDK) is to specify a dependency on default-jre or default-jre-headless (the former for programs with GUIs, the latter if no GUI is necessary), with alternative dependencies on the appropriate versions of java-runtime (java6-runtime if your application ...


0

download jdk-8u91-linux-x64.tar.gz archive of oracle jdk from http://www.oracle.com/technetwork/java/javase/downloads/index.html, unpack and set PATH and JAVA_HOME to it. Just keep in mind that you have to watch security updates on your own.


0

You need to add special definitions to the source for the window manager, in my experience. I had this happen to me a couple of years ago in the MATE desktop's marco window manager; the 'fix' was to make marco pretend to be its parent project, metacity, to utilize the JDK's built-in fixes for metacity. from src/core/display.c: ...


0

This is indeed a question for stackoverflow, as coffeMug suggested correctly. To answer your question: Your moon object needs to implement a toString function, for example like this: public String toString(){ return this.name; } After that, you can use a foreach loop to walk through your list and print out the names: for (moon m: moonList){ ...


1

Installing openjdk-8 from this Launchpad PPA is safe. To install OpenJDK 8 execute the following commands : sudo add-apt-repository ppa:openjdk-r/ppa sudo apt update sudo apt install openjdk-8-jdk


0

Okay, I solved it. Apparently the braces have to be masked: find /Users/Me/MyFolder -name '*filename.tsv' -print0 -exec bash -c '/usr/bin/java -jar -Xmx2G /Volumes/Macintosh\ HD/Applications/mMyApp/MyApp.jar -s "," -e "." "$1" > "$1-new.tsv"' {} \; Furthermore, the command has to be invoked by using bash -c 'command string' (make sure to escape single ...


0

Also happen to me. But I found a solution, I'd just install "openjdk-7-jdk", while "openjdk-7-jre" already installed using "Software Manager". I am running PhpStorm-2016.1 build PS-145.1616.3 in linuxmint-17.3 codename "Rosa".


4

libjinput-java and libjinput-jni are built from the same source. The -java package contains the architecture-independent, pure Java JAR, and the -jni package contains the architecture-specific library which provides the native functionality required by the Java package. Notice that libjinput-java depends on libjinput-jni: they're not two different ...


1

You need to enable an extra Red Hat Network channel first -- see their guide at https://access.redhat.com/solutions/732883



Top 50 recent answers are included