Closed spoorcc closed 11 months ago
Trying again: I had the same problem, has to do with Java 9. Problem and solution described here: TEE CLC not working on Mac
Thanks, that might solve it. I'm pressed for time, so I downgraded to Java 8 for now.
This could then be fixed in clc-launcher if somebody wants to make the world a better place by adding --add-modules java.xml.bind
to the exec java
call.
This issue affects also the Windows version and the proposed solution linked by rcnicke works also on Windows.
My environment:
I have the same env as @axelgenus , but I can't get @rcnicke 's fix to work.
I added the flag
java –-add-modules java.xml.bind -Xmx2048M -cp...
but command prompt is throwing an error:
Error: Could not find or load main class GÇô-add-modules Caused by: java.lang.ClassNotFoundException: GÇô-add-modules
EDIT: Worked it out, my PATH was pointing to java.exe in the JRE instead of the JDK.
I have upgraded my Android Studio to version 3 then I faced the same issue with TF. first I added this "--add-modules java.xml.bind" to "tf" but it still gave me the same exception. I added it to "tf.cmd" then it worked. I hope that wont has bad effects on "commit changes", "show diff" and other TFS - android studio functions should I go back and remove "--add-modules java.xml.bind" ? or it must work now?
java.xml.bind
dependency removed in release 14.135.0
With following versions:
When running
./tf
with any command, there is no output whatsoever in the terminal. When downgrading to java 1.8.144 everything works as expected.The command
java -version
does return output