Couldn't install derby in eclipse - java

I'm new to java . I'm using eclipse. I want to create database project using derby . I installed two files for derby called derby_ui_doc_plugin_1.1.3.zip and derby_core_plugin_10.8.2.zip and extracted them in plug ins of eclipse but when I opened the eclipse I couldn't find data management or data source or anything that told me that derby is installed . Thanks in advance
i'm working on Kepler Service Release 2 if version is old . how can i update it ?

These plugins are very old and are not supported by current versions of Eclipse.
Derby no longer provide a UI or plugins for Eclipse. You can still use the Derby jars in plugins but without the UI.
To use the Derby jars in an Eclipse plugin include them in the plugin folder and add the jars to the plugin classpath. You do this by opening the MANIFEST.MF editor and add the jars to the 'Classpath' list on the 'Runtime' tab.

Related

Hot fix in weblogic

I am running my project on weblogic , the source code of the project is at 'C:/Source Code' and when I run mvn clean install the .ear file is getting created in C:/Ear/abc.ear, and I have imported the project in eclipe from C:/Source, the abc.ear is autodeployed in C:/oracle/Middleware.../Autodeploy
Now whenever i make changes in any java class i have to manually replace the class file which is build in eclipse to C:/oracle/Middleware.../Autodeploy.
Is there any way to automate this so that the changed class file would be automatically available to the C:/oracle/Middleware.../Autodeploy/abc.ear
For Eclipse development with WebLogic, install the Oracle Enterprise Pack for Eclipse to better integrate with WebLogic. You will no longer need to use the autodeploy and your application will update automatically.
http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/index.html

What libraries does eclipse need in build path for Hibernate?

I'm learning Hibernate and am following an online tutorial on integrating it with Eclipse. I have installed the JBoss plugin with Hibernate into Eclipse Luna 4.4. and verified I have Hibernate available. The next step is to configure the build path for my new Java project and include the "necessary" Hibernate libraries...no information given on how to do that. How does one go about identifying the required jar files? I see several folders under my eclipse plugins directory that contain jboss or hibernate in the folder name, and underneath these folders do exist jar files, but I would think that there must be an easier way than plodding through all these directories and adding any jar file that looks like it's related to Hibernate or JBoss. Thanks.

Add tomcat jar/lib directory to eclipse classpath on Mac OS X [duplicate]

This question already has answers here:
How do I import the javax.servlet / jakarta.servlet API in my Eclipse project?
(16 answers)
Closed 6 years ago.
I have a project that requires some Tomcat libs to run properly. I installed Tomcat (on Mac) which is essentially just a put-the-folder-somewhere process. I originally resolved the issue by adding the needed jar files as external jars for the project - however this messes with the project .classpath which I can't allow - those changes would be tracked in our source control.
I've tried adding the tomcat/lib directory to eclipse as a classpath variable but that doesn't resolve the issue.
When the tomcat server starts, I receive ClassNotFoundException: HttpServletRequest.
How else can I add the tomcat lib directory so that I'm not modifying the project classpath?
You can install Webtools plugin (installed by default in Eclipse for JavaEE Developers) and then you will get Tomcat runtime support. Then you can add a "Tomcat Runtime" to your project and it will automatically include all Tomcat jars that are available to webapps running on Tomcat.
Window > Preferences > Server > Runtime environments
Add..
Select Tomcat version
Browse to tomcat install dir
Right click you project > Properties
Select Java Build Path
Add library... > Server Runtime > select your runtime you created
This process will also modify your .classpath file but it will do so in a way that is easy to share with other developers.
Maybe you can create an user library which include the jars in the tomcat/lib, then add the user library in your java projet by those steps :
Build Path > Configure Build Path > Libraries > Add library > Add user library
I use sysdeo tomcat plugin found at http://www.eclipsetotale.com/tomcatPlugin.html. You can also install it by going to Help->Eclipse Marketplace->search for sysdeo
What it does is add a menu item called tomcat in your options that allows you to add projects to tomcat classpath and add tomcat libs to your project pre-compile.
Heres some screenshots of it.
starting and stopping tomcat is made easier:
and where you can add the libs to classpath (and much more)
I've had this problem several times while using subversion with windows users. The Tomcat directory will have servlet-api.jar.
Copy and paste it in your eclipse project, right click and add to build path.
Now you don't want to commit the classpath. Then simply deselect .classpath file while committing.
basically i am using windows i dont know about that, but you can do that from eclipse right click on your project in eclipse then see there is a build path from that import(some thing like that) server's(tomcat) lib file where you have install server and put all libs file if you want all

Overwrite jar files when re-installing and eclipse plugin

I am developing an eclipse plugin and facing a deployment problem:
After zipping the whole eclipse plugin and installing it on eclipse using Help--> Install New Software--> from archive file, once I would like to uninstall it through Help --> About Eclipse Platform --> Installation Details --> Installed Software --> Uninstall..., the old jar files will remain under eclipse/plugins folder. And when I try to install a new version of the eclipse plugin, the previous jar files are not overwritten by the new ones.
Is anything wrong within my process? does anyone has an idea about deploying eclipse plugins properly? thanks!!!
To get rid of the old plugins you have to clear the Installation History. Go to Help | About Eclipse | Installation Details | Installation History and select all the old stuff. Then click delete and restart. Now install the new plugin.
The other way to achieve this is by copying the corresponding directory (or jar) from the source eclipse install plugins/ or/and features/ directory to the target eclipse install plugin/ or/and features/ directory

Moving Netbeans project to Eclipse and putting in the same SVN repository

I had a Java project in Netbeans IDE, which I had to move to the Eclipse IDE. As we all know, the folder structure of both these IDEs is different. I already had the Netbeans version of my project checked-in on SVN repository.
Now, I want to use the same SVN location to check-in the Eclipse version of the same project with the same name. Since I created a brand new Eclipse Java project on my local and just copied the source files from Netbeans to Eclipse, I obviously do not have the '.svn' folders in my project.
How to do this?
Thanks!
just take your "eclipse" project and copy it back over the netbeans one - then commit the result
you will get both in 1 folder (if i understood your setup correctly)

Categories

Resources