Menu
  • HOME
  • TAGS

Why doesn't SaltStack pkg.installed command recognize installed packages on CentOS 6.6

centos6,openjdk,salt-stack,git-core

I'm sure you've already found this, but for the sake of the next person, it's sshd on my CentOS boxes. Try something like: {% if grains['os_family']=="RedHat" %} sshd: service.running {% elif grains['os_family']=="Debian" %} ssh: service.running {% endif %} ...

Is `1/0` a constant expression in Java?

java,compiler-errors,java-8,openjdk,jls

The compiler is doing constant folding (precomputing trivial literal expressions). This is a case where the expression "completes abruptly", to use the JLS verbiage, disqualifying it from meeting the definition of "constant expression". So it's not a bug, it's consistent with the JLS. And yes, the expression doesn't evaluate to...

Is JavaFX supported on Openjdk?

java,javafx-8,openjdk

The word "supported" means different things to different people. Here is the official JavaFX Supported Configurations page which describes the various platforms on which JavaFX2 is "certified". The page makes no mention of OpenJDK, so Oracle may take the position that JavaFX is "not certified" for OpenJDK. On the other...

Why does rJava not work on Ubuntu 14.04 using OpenJDK 7?

java,r,openjdk,rjava,ubuntu-14.04

I had the same problem with a similar configuration (R 3.1.0, Ubuntu 12.10, 32-bit). I found the answer was in getting LD_LIBRARY_PATH set properly, as described here: error: unable to load installed packages just now except that the subdirectory in question is 'client' not 'server'. So now I'm setting my...

Cannot install a new version of Java on linux [closed]

java,linux,openjdk

I usually install jdk to Linux and got the issue like yours. I solve by editing ~/.bash_profile file: JAVA_HOME=/opt/jdk1.7.0_75 #this should be point to your jdk directory export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH Note: note that you put $JAVA_HOME/bin before $PATH when re-define PATH Then, run below command to reload your...

How to detect running JDK

java,openjdk

Try: System.out.println(System.getProperty("java.vm.name")); ...

Does OpenJDK 7 support the hard float abi?

java,openjdk

The clear implication of this page is that you can cross-compile OpenJDK 8 with Hard Float support. (See the example commands towards the end ...) The page doesn't mention specific Java versions, so given that Oracle JDK 7 supports it it is likely that OpenJDK 7 will as well....

set mac jdk version to 1.8

java,osx,openjdk

To set Java to 1.8 for your shell environment, put this in your ~/.bash_profile: export JAVA_HOME=`/usr/libexec/java_home -v 1.8` ...

What are the steps to install Sun Java, where OpenJdk is already installed? [closed]

java,openjdk

I've oftenly have the same problem, the easiest way to deal with many versions of Java in the same machine is to modify the environment variables JAVA_HOME and PATH for each process that needs a different version of java. Have a "source script" like this: export JAVA_HOME=/opt/jdk1.5 export PATH=$JAVA_HOME/bin:$PATH and...

OpenJDK on OpenShift: “NoSuchAlgorithmException: EC AlgorithmParameters not available”

java,openshift,openjdk

Found a solution. You can define a properties file to override some of the keys defined in the default JRE file jre/lib/security/java.security This file can be specified in the JAVA_OPTS_EXT environment property of the OpenShift Gear. These are the steps that we took to fix the issue. Create the file...

Difference between openjdk-6-jre, openjdk-6-jre-headless, openjdk-6-jre-lib

java,openjdk

You are correct in that you will need a jre package to run any java application. Since you say you're running on an embedded platform I assume that the java app you want to run has no gui. In that case, you will be fine with openjdk-6-jre-headless. This is explained...

How to develop JavaFX applications with Openjdk?

java,netbeans,javafx,openjdk

Just build a self-contained application/installer with the Oracle JDK and you are done. What's the problem? (By someone who doesn't care about the deep religious aspects of free software :-)...

Why does OpenJDK place private methods into vtable?

java,jvm,bytecode,openjdk

This is done to handle some rare situations when an overridable method with the same name and signature exists in a superclass. Though there is definitely a place for improvement, may be, targeted for JDK 9. See https://bugs.openjdk.java.net/browse/JDK-8024368 Private methods always get a vtable entry to handle backward compatibility with...

Access fields of a JavaScript object in Java

java,javascript,oracle,scala,openjdk

You can use function overloading instead. // `params` matches a JavaScript string def httpPost(where: String, params: String): Try[String] = { // ... } // `params` matches a JavaScript object def httpPost(where: String, params: java.util.Map[_, _]): Try[String] = { // ... } This solution worked on my environment (Oracle JDK 8...

Eclipse Fails to Load (Exit Code 13) on fresh Fedora 22 w/ latest OpenJDK

java,linux,eclipse,fedora,openjdk

The problem - and the solution - are explained here: Cannot run Eclipse; JVM terminated. Exit code=13 Please run whereis java and ls -l /usr/bin/java. If you happen to have multiple JDKs, you should also consider alternatives. For example, run alternatives --display java. NOTE: The -vm option and its...

Filter JDK Bug System by JavaFX

java,javafx,openjdk

Sample JavaFX issue query string: https://bugs.openjdk.java.net/issues/?jql=project%20%3D%20JDK%20AND%20component%20%3D%20javafx Created by: Browse to: https://bugs.openjdk.java.net/browse/JDK Click on All Issues Click on + More Criteria Check Component Click Component drop-down. Check JavaFX ...

How to build the C code of OpenJDK 8 src.zip /launcher/

java,openjdk

I am currently facing the same problem. Maybe it can be solved by providing jvm.h and jvm_md.h for your setup. Both contain-jvm-specific symbols and jvm_md.h contains additionally platform-dependent symbols. So you will need to choose jvm.h for your target jvm and jvm_md.h for your target platform. To get these headers...

Building OpenJDK - Corba issue

java,windows,corba,openjdk

I was able to build OpenJDK via alexkasko's scripts: https://github.com/alexkasko/openjdk-unofficial-builds

jps command not found. Put the JDK's jps binary on the command path

java,hadoop,docker,openjdk,titan

Came across a similar question hadoop jps can not found. It mentioned that only dev version of open jdk has jps. In your case, you may want to check the file list of your package with package list command such as: rpm -ql jdk.... Or install oracle/sun jdk all together....