Jake Badlands
Jake Badlands

Reputation: 1026

Could not use Derby plugin on Eclipse

I have downloaded the latest stable version of Derby:

http://db.apache.org/derby/releases/release-10.8.2.2.cgi

Installed it to the Eclipse plugins folder, as suggested.

Then I am trying to use the following instruction:

http://db.apache.org/derby/integrate/plugin_help/start_toc.html

The third step fails:

Error: Could not find or load main class org.apache.derby.drda.NetworkServerControl

Googled, but cannot find the info how to solve this problem. Any ideas?

Upvotes: 0

Views: 2382

Answers (5)

kannan
kannan

Reputation: 1

Go to the website http://db.apache.org/derby/releases/release-10.1.3.1.html
Below you will see the Eclipse plugin

derby_core_plugin_10.1.3.zip [PGP] [MD5]
derby_ui_plugin_1.1.0.zip [PGP] [MD5] 

download these two zip files and unzip.
Go to Eclipse folder in the Eclipse folder u will see plugins folder put into three folders

org.apache.derby.core_10.1.3
org.apache.derby.plugin.doc_1.1.0`
org.apache.derby.plugin.ui_1.1.

Then open Eclipse and create a Java project.
Right click on the Java project you will see Apache Derby-->add Apache Derby nature click on that
You will get Apache libraries, you can start or create database or table whatever you want this will work fine.

Upvotes: 0

akhilesh
akhilesh

Reputation: 1

Add Derbynet.jarin reference libraries from org.apache.derby.core_10.8.2 and now start derby network server.It should work.

Upvotes: 0

Arshad
Arshad

Reputation: 1

download apache derby bin distribution and unzip in any directory set environment variable with name DERBY_HOME to your directory of derby upto \bin path now in your project right click and set apache derby nature Now you can start and stop apache derby from eclipse ide

Upvotes: 0

Bryan Pendleton
Bryan Pendleton

Reputation: 16359

org.apache.derby.drda.NetworkServerControl is in the derbynet.jar file that came with your Derby distribution.

Upvotes: 1

Jake Badlands
Jake Badlands

Reputation: 1026

I have solved this problem by making a new clean project instead of using an existing project!

Upvotes: 1

Related Questions