Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » API change for IVMConnector in Eclipse 4.2
API change for IVMConnector in Eclipse 4.2 [message #912615] Thu, 13 September 2012 21:22
Kathy Chan is currently offline Kathy Chan
Messages: 93
Registered: July 2009
Member
When migrating to Eclipse 4.2, I got an error in the class that use IVMConnector:

The project was not built since its build path is incomplete. Cannot find the class file for com.sun.jdi.connect.Connector$Argument. Fix the build path then try building this project

The type com.sun.jdi.connect.Connector$Argument cannot be resolved. It is indirectly referenced from required .class files


I then found out that in Eclipse 3.6, org.eclipse.jdk.launching.IVMConnector.getDefaultArguments() returns Map. In Eclipse 4.2, it returns Map<string, com.sun.jdk.connect.Connector.Argument>.

I wonder what is the recommended way to fix this error. I know that com.sun.jdk.connect.Conector.Argument is tools.jar in the JDK/lib directory. Are we supposed to have to manually add it to the build path of the project now?

Regards,
Kathy
Previous Topic:FTP Synchronization of Dynamic Web Project
Next Topic:Eclipse keyboard shortcuts load/save
Goto Forum:
  


Current Time: Wed Oct 01 12:21:00 GMT 2014

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

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