Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable console logging for Eclipse itself (the platform)

Tags:

java

eclipse

ssl

I'm having a trouble with my JVM/JRE and Eclipse itself. I'm running a version of Juno under Windows 8.1 with IBM JVM. When I try to access/install new software from an https P2 URL, I get the following error message:

javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.j: No trusted certificate found

I'm not entirely sure what the problem is, but I figured it might have something to do with the cacerts in my jvm. However, I have replaced it with a cacerts file from a functional system and I still have the same issue.

I thought that adding -Djavax.net.debug=true in my eclipse.ini would show me additional debug information, but launching eclipsec.exe from the command line doesn't print out anything in my command prompt window.

What is the right way to enable/launch Eclipse such that I can see debug logs/traces/etc in the command window? Or is there another way to try and debug this problem?

like image 685
Eric B. Avatar asked Aug 21 '15 20:08

Eric B.


1 Answers

Try starting Eclipse from the command line with the -consoleLog and -debug arguments; i.e. eclipse.exe -consoleLog -debug.

like image 117
F. Stephen Q Avatar answered Sep 28 '22 08:09

F. Stephen Q