Tag Info

New answers tagged

0

Java runtimes honor environment variables, you could set them in system startup files. Oracle Java uses _JAVA_OPTIONS, IBM Java uses IBM_JAVA_OPTIONS.


0

The JAVA_HOME variable should be set to the folder of JDK installation. In you case, instead, it is set to the binary executable. So replace of JAVA_HOME=/usr/bin/java with actual folder. To find the folder, try ln -lh /usr/bin/java # this should be a sym link to an actual file


0

I had the same error. The simplest way to solve it is to simply remove all jdks and jres and also the executable /usr/bin/java, if it's there. And then reinstall jdk. It solved the problem for me. While other methods didn't.


0

Finally I found the solution. As far as I've understood it was the way to put in background both processes in my script 2. It looks that the & apply only to awk (that would explain why it works without the awk part). With braces I can put in background both parts (java and awk): Script 2 executed from script 1: #!/bin/bash # Start java app with ...


0

As Kali (1.x) is based on Debian Wheezy and there is not openjfx in Wheezy's repo, you can't normally install it by apt-get. However, it could be compile from source follow the offical instruction on OpenJDK Wiki (you can consider your system as Ubuntu 12.04 since they share the same kernel version). Another option is to upgrade your system. Since Kali is ...


0

If you're getting an selinux AVC, you can set up a local policy to permit that particular action using the audit2allow tool: # audit2allow -M local -a This will create a policy (local.pp) that will permit anything that resulted in an selinux denial in your audit logs. You can then activate this module by running: # semodule -i local.pp You can see the ...


0

It seems that most Java server machines use Red Hat That may be true (I don't know), although it's probably reasons other than this provides some particular advantage with regard to java. Redhat is a popular production server because (for a fee) it comes with commercial support from Redhat. This relieves people of having to pay their own support ...



Top 50 recent answers are included