Open m1kit opened 5 years ago
I've had a very similar problem to yours. I wasn't able to launch the TopCoder Arena app from Intellij after clicking on the icon. However I noticed that my Mac had access to the javaws command. Type in terminal:
javaws
it should display the regular Java Web Start information (same as man javaws
)
Now I typed:
which javaws
-- location of javaws
/usr/bin/javaws
-- terminal returned this.
So I used
cd /usr/bin/
When I was in this folder I open it in Finder using the:
open .
command and noticed that javaws is a shortcut for the actual Java Web Start so I highlighted javaws file and pressed CMD + i (or right click Get Info). It showed me that the actual location for the file is: (Marked as original in the Finder Get Info tab)
/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/javaws
And I navigated to that directory and finally javaws was located in that dir. I just CMD + C on it and then navigated to IntelliJ (under Applications directory) right click show package contents and then navigated to where the error message was pointing that the javaws file was missing
. In my case it was:
Cannot run program "/Applications/IntelliJ IDEA CE.app/Contents/jdk/Contents/Home/jre/bin/javaws": error=2, No such file or directory
so I pasted the javaws file there into
/Applications/IntelliJ IDEA CE.app/Contents/jdk/Contents/Home/jre/bin/javaws
And now:
Everything seems to be working just fine! Hope this helps. I believe that this is not really an issue with CHelper but IntelliJ or Java JDK / JRE since they dropped support for Java Web Start and it was replaced by something else. And I apologize for the ugly formatting as well.
EDIT:
I also realize that you had another Issue open regarding this problem, but thought this info might prove useful for some, since I've been trying to get this to work for some time, and often GitHub popped up in my google search results.
I'm using IDEA comes with JetBrains Toolbox on mac, and I cannot launch TopCoder Arena. I think this is because bundled JDK doesn't come with
javaws
.