Skip to main content



      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 17:22
Eclipse UserFriend
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: Fri Jul 04 14:03:12 EDT 2025

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

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

Back to the top