All Questions

Tagged with
Filter by
Sorted by
Tagged with
4
votes
2answers
23k views

What is the command or hotkey for stopping a running program in DrJava?

I installed DrJava about a week ago. Its been working fine so far but I ran into an infinite loop and wanted a way to stop the program from running without having to force DrJava to quit. Is there a ...
3
votes
1answer
8k views

calling javac from CentOS 7

I want to be able to use the javac command on the CentOS 7 terminal. How do I set the PATH variable in order to accomplish this? The following explains relevant aspects of my current environment. ...
3
votes
1answer
17k views

How to run a simple Java program using terminal command?

As you can see I'm trying to run a Java program but I need the command which I can write in terminal to run the code.
2
votes
1answer
1k views

a jni error has occured

I uninstalled Eclipse IDE due to this issue. Then I tried to run java program in my Linux mint Terminal. So I started with a small code public class Myth{ public static void main(String[]args){ ...
1
vote
1answer
63 views

Why does my bash terminal startup run the same set of commands twice?

I'm on a Mac and whenever I start up my terminal app the initial startup prints the following: Picked up _JAVA_OPTIONS: -XX:MaxPermSize=4G -Xmx4G Java HotSpot(TM) 64-Bit Server VM warning: ignoring ...
1
vote
0answers
444 views

Aptitude installing jre

I am trying to install jre on my debian 7 kali box, but I keep getting these faulty errors. I tried installing it through aptitude and it fails at the end. The result is: dpkg: error processing ...
0
votes
0answers
83 views

Bringing a running java program back to foreground

I was experimenting with the java language and accidentally got a running java program that has a foreground GUI to become a background process. I ran this command to locate the PID of the process ...
0
votes
0answers
2k views

How to fix Picked up _JAVA_OPTIONS: no options listed on Linux?

This issues is on Manjaro Deepin 15.9 linux DE. When I run java -version in terminal it outputs this: Picked up _JAVA_OPTIONS: java version "11.0.2" 2019-01-15 LTS Java(TM) SE Runtime ...
0
votes
2answers
826 views

Java programs not running in terminal

I have java 8 installed on fedora 20. Any java program runs perfectly fine via eclipse but when I run the same program on terminal it reports an error saying 'could not load main class' . what could ...
0
votes
2answers
14k views

Running Java classes in a package --> Error: Could not find or load main class

I'm learning how to compile and run java classes in terminal using the commands javac and java. I have no problem compiling and running an individual class, however, when I put that class into a ...