• Register
0 votes
47 views
Hello! I am trying to run Java but keep on getting the error message:
No Java runtime present, requesting install.
[Finished in 0.1s with exit code 1]
[shell_cmd: javac “/Users/Ethan/Documents/Comp Sci /JavaTest.js”]
[dir: /Users/Ethan/Documents/Comp Sci ]
[path: /Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin]
I’ve tried to build a new system, using the system JavaC, and following the error code link. The link brought me to the update adobe page, which I did and it’s still not running
10 7 2
6,050 points

1 Answer

0 votes
This issue is not directly related with your ide  but the fact the java compiler (javac) not being found in one of the path environment variables. You’ll therefore get the same errors when trying to call javac from terminal. You need to figure out where the java compiler is located and add that folder to your $PATH environment variables.

 

11 6 4
34,930 points

Related questions

0 votes
1 answer 46 views
46 views
Problem : I have the Java web service client, which consumes the web service via HTTPS. When I try to connect to the service URL (https://AAA.BBB.CCC.DDD:9443/ISomeService ), I get the exception as below: “ Java.security.cert.CertificateException: No subject alternative names present.”
asked Jan 21 jwilliam 3.9k points
0 votes
1 answer 105 views
105 views
Problem : I have a Java web service client, which consumes a web service via HTTPS. When I connect to the service URL, I get the exception java.security.cert.CertificateException: No subject alternative names present.
asked Oct 22, 2019 peterlaw 6.9k points