Skip to main content


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 ChanFriend
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: Sat Apr 20 01:02:16 GMT 2024

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

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

Back to the top