Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Remote Debug Java Swing JDK7(No longer able to remote debug with Java 7)
Remote Debug Java Swing JDK7 [message #1468338] Mon, 10 November 2014 19:25 Go to next message
Michael McCarthy is currently offline Michael McCarthyFriend
Messages: 4
Registered: November 2014
Junior Member
Have a Java Swing application launched via jnlp web start. Under JDK6 was able to remote debug in Eclipse using JAVAWS_VM_ARGS env variable. No longer works with JDK7. Tried launching the app from the command line with debug args and from java vm options, nothing is working anymore. Port is not opened.
Re: Remote Debug Java Swing JDK7 [message #1468846 is a reply to message #1468338] Tue, 11 November 2014 05:18 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3842
Registered: July 2009
Senior Member

Possible regression in the JRE? https://bugs.openjdk.java.net/browse/JDK-8053942

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Remote Debug Java Swing JDK7 [message #1470964 is a reply to message #1468846] Wed, 12 November 2014 19:32 Go to previous messageGo to next message
Michael McCarthy is currently offline Michael McCarthyFriend
Messages: 4
Registered: November 2014
Junior Member
Regression in the JRE is not a suitable long term solution. Thanks for the reply though. I was hoping someone knew why this no longer works. Intentional for security reasons? Bug? I just installed jdk1.7.0_71 and still an issue. I would think there would have to be a better solution to this issue. I don't have much experience with Swing, but was surprised not to find more post about this issue. Are Swing apps a thing of the past?
Re: Remote Debug Java Swing JDK7 [message #1471985 is a reply to message #1470964] Thu, 13 November 2014 13:51 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
If it's that bug you're running into, there's nothing Eclipse can do about it. I suggest you comment and vote on that JRE bug report, or try another JRE (perhaps Java 8 doesn't have the problem).
Re: Remote Debug Java Swing JDK7 [message #1472000 is a reply to message #1471985] Thu, 13 November 2014 14:09 Go to previous messageGo to next message
Michael McCarthy is currently offline Michael McCarthyFriend
Messages: 4
Registered: November 2014
Junior Member
I've tried several, but you are correct, not an eclipse issue and wrong place for me to ask for the help probably, my bad. Thanks!
Re: Remote Debug Java Swing JDK7 [message #1473543 is a reply to message #1472000] Fri, 14 November 2014 18:31 Go to previous message
Michael McCarthy is currently offline Michael McCarthyFriend
Messages: 4
Registered: November 2014
Junior Member
Resolved: Add debugging statements to jnlp <java version="1.7+" java-vm-args="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8989,server=y,suspend=n"/>
Previous Topic:Toolbar dropdown problems
Next Topic:Trying to Install New Software, Eclipse is asking for a password
Goto Forum:
  


Current Time: Sun Sep 27 18:20:38 GMT 2020

Powered by FUDForum. Page generated in 0.03314 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top