• Register
0 votes
84 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,060 points

Please log in or register to answer this question.

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,950 points

Related questions

0 votes
1 answer 6 views
6 views
Can someone please help!! how do I solve this issue?
asked Dec 16, 2020 TeamScript 9.2k points
0 votes
1 answer 51 views
51 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, 2020 jwilliam 3.9k points
0 votes
1 answer 124 views
124 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
0 votes
1 answer 6 views
6 views
Eclipse is unable to open, have used eclipse before and has open before without a problem.
asked Jan 2 TeamScript 9.2k points
0 votes
1 answer 4 views
4 views
How to fix this error? Showing me with Java runtime environment not found! Can anyone fix this problem and provide a solution here.....
asked Dec 21, 2020 ZarinaShaik 320 points
0 votes
1 answer 17 views
17 views
I am new to this. I just want to know how to do that? I have a Java project I am working on and I get this error.
asked Dec 19, 2020 TeamScript 9.2k points
0 votes
1 answer 7 views
7 views
What is causing this issue?
asked Dec 18, 2020 TeamScript 9.2k points
0 votes
1 answer 36 views
36 views
I was working on that. I just want to know how to do that? Help me.
asked Nov 6, 2020 TeamScript 9.2k points