New answers tagged java
You can't use variable expansion in /etc/environment (which is why you see an unexpanded $PATH in the output from echo $PATH). /etc/environment is read by the pam_env module not a shell script so just simple assignments. You probably want to add this stuff to /etc/profile or add a file under /etc/profile.d/. See Can you use variables when editing ...
It looks like this script is attempting to run the Java runtime using the name java.exe at a specific path. .exe usually indicates Windows executables; on Unix, executables usually do not have an extension. I would suggest editing your script looking for the line where it raises the error you quoted, and changing the call to be the full path to java as ...
You're trying to run .exe file on linux os!? That's might be the issue.. Try to get a version the fits your os.
Looks like an issue I had with it, I needed to modify sql_developer/sqldeveloper/sqldeveloper.sh and added the following line as line 2: unset GNOME_DESKTOP_SESSION_ID Unfortunately I can not remember the reference where I found it, otherwise I mentioned it here.
From write(2), Errors ⋮ EAGAIN or EWOULDBLOCK The file descriptor fd refers to a socket and has been marked nonblocking (O_NONBLOCK), and the write would block. POSIX.1-2001 allows either error to be returned for this case, and does not require these constants to have the same value, so a portable application should check ...
If your application is not interactive, you might launch a virtual X11 server and set the DISPLAY variable for your application to use it. Possible X11 servers that can be used that way are: Xvfb Xdummy Xvnc The latter allows you to connect later to see and interact with the screen with a VNC client (vncviewer). If you Raspberry pi (or similar) is ...
Appending this line to sshd_config helped in my case (PyCharm and Ubuntu 14.04 via Docker): KexAlgorithms=diffie-hellman-group1-sha1
As it turns out the .jar file I downloaded was single threaded, but Java was using multithreaded garbage collection. To change the number of threads that Java uses for GC, I use java -XX:ParallelGCThreads=2 which fixed the problem.
The default PATH is set in /etc/profile. Users can modify their PATH by editing ~/.profile, ~/.bash_profile or ~/.bashrc (if they're running bash) but if they don't they will still have a PATH as defined in /etc/profile. That's why the line was PATH=$PATH:$HOME/bin and not just PATH=$HOME/bin That way, the original value of PATH is kept and the new ...
Top 50 recent answers are included