I was coding a small programm in Java. But since the first running an error message in the console occurs: Picked up JAVA_TOOL_OPTIONS: . I read this error message happens due to reaching the RAM limit of Java. But programm is pretty small and I have only one class in package. Maybe you can help me out?
import javax.swing.*;
public class MainClass {
public static void main(String[] args) {
try {
Runtime rt = Runtime.getRuntime();
rt.exec("cd Downloads");
} catch (Exception e) {
JOptionPane a = new JOptionPane();
a.setMessage("Ein Fehler ist im AutoThemeSwitcher aufgetreten!");
}
}
}