How to integrate Java db with eclipse?

500 pts.
Tags:
Apache derby
Eclipse IDE
Java ee
I have downloaded derby plugin and copied all the derby jar files to my project classpath... but still when i right click on my project folder i can't see apache derby there...why?

Software/Hardware used:
Eclipse IDE, Apache Derby.

Answer Wiki

Thanks. We'll let you know when a new response is added.

make sure the derby plugin is extracted at the root folder of the eclipse i.e. your derby contents must be available under Eclipse/plugins 

Only then you will get the derby feature enabled for eclipse.
also make sure to use a fresh workspace to avoid conflicts

Discuss This Question: 6  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    Did you install the Derby core plugin ?  This is from the documentation: "Note that both the Core and the UI plug-in need to be installed if any UI functionality is required, such as adding the Apache Derby nature, running the Derby network server, etc. is desired. "
    69,160 pointsBadges:
    report
  • hussain22juzer
    yes i did it just now and now when i right click the project folder apache derby is showing but when i try to add apache derby nature to the project this error is coming: Error adding Derby jars to the project 'web222' : java.lang.ClassCastException: org.eclipse.ui.internal.WorkbenchWindow cannot be cast to org.eclipse.jface.window.ApplicationWindow"..
    500 pointsBadges:
    report
  • hussain22juzer
    I'm able to add derby nature in Eclipse Galileo but this error keeps coming in Eclipse Juno..
    500 pointsBadges:
    report
  • carlosdl
    It works well on Helios.   The latest Derby release doesn't include the plugin, so you are probably using the plugin from version 10.8 (or older) wich was released last year, while Junio is from this year.  They are probably incompatible, and it seems that the plugin is no longer going to be maintained.
    69,160 pointsBadges:
    report
  • hussain22juzer
    first i had downloaded 10.9 which was released in june 2012..but it didnt included core and ui with it ,so i downloded 10.8.... and is there any big difference between diferent versions of eclipse?
    500 pointsBadges:
    report
  • carlosdl
    I don't really know.  I guess you would need to read the release notes and/or similar documents that are always included with every new release.
    69,160 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following