Replies: 3 comments 2 replies
-
|
I also have temurin-25 installed. This path works on my Mac (though it detects the java executable automatically, and I don't normally need to use this setting). "as3mxml.java.path": "/Library/Java/JavaVirtualMachines/temurin-25.jdk/Contents/Home/bin/java"After changing the setting, try running the Developer: Reload Window command. Or, alternatively, Quit VScode (don't just close the current window, but fully Quit the app), and restart it. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I get that message even if I delete the settings file altogether. Could it be that there's a settings.json file somewhere in the VS Code settings outside the workspace? |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
No matter what I put in settings.json, really no matter what I tried everything, 5 different java versions, I still get:
as3mxml.java.path in settings does not point to a valid executable. It cannot be a directory, and Java JDK 11 or newer is required.
It lets me select SDK, but the extension does not work at all, since no java machine is found.
I tried /usr/bin/java, and other versions I have on the system, they all work in terminal, but no matter what the extension cannot find it...
I am lost, please a suggestion?
echo $PATH
/Users/filippogregoretti/Library/Python/3.11/bin:/Users/filippogregoretti/Library/Python/3.9/bin:/usr/local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/pkg/env/global/bin:/Library/Apple/usr/bin
% which java
/usr/bin/java
/usr/libexec/java_home -V
Matching Java Virtual Machines (5):
25.0.3 (arm64) "Eclipse Adoptium" - "OpenJDK 25.0.3" /Library/Java/JavaVirtualMachines/temurin-25.jdk/Contents/Home
24.0.2 (arm64) "Oracle Corporation" - "Java SE 24.0.2" /Library/Java/JavaVirtualMachines/jdk-24.jdk/Contents/Home
1.8.461.11 (x86_64) "Oracle Corporation" - "Java" /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
1.8.0_291 (x86_64) "Oracle Corporation" - "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home
1.8.0_282+07 (x86_64) "GraalVM Community" - "GraalVM CE 21.0.0.2" /Library/Java/JavaVirtualMachines/graalvm-ce-java8-21.0.0.2/Contents/Home
/Library/Java/JavaVirtualMachines/temurin-25.jdk/Contents/Home
Beta Was this translation helpful? Give feedback.
All reactions