aspose file tools
The moose likes IDEs, Version Control and other tools and the fly likes Question Regarding Java Libraries in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Question Regarding Java Libraries in Eclipse" Watch "Question Regarding Java Libraries in Eclipse" New topic
Author

Question Regarding Java Libraries in Eclipse

Michele Smith
Ranch Hand

Joined: Oct 27, 2010
Posts: 298
Hello, on my eclipse navigator, I have the following libraries, whih are part of the JRE System Library [JSE1.5]

Could you please tell me how I can make sure these libraries are included in my dynamic web project, especially in the event that I am FTPing the files to a test server?

Thank you,
Michele



[screenshot.jpg]

Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14672
    
  11

Usually, you don't have to check for these particular libraries. You certainly don't have to upload them. What you check is if the same version of the JRE is installed in your server. You are using 1.5.0_22. If it is installed in the test server, it's enough.


[My Blog]
All roads lead to JavaRanch
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14475
    
    7

The JRE libraries are part of the JRE itself, so the project does not need to (and SHOULD NOT) include them explicitly in the deployable WAR. Eclipse is using its own local JRE and the libraries in that JRE to do local compiles and other work, but once the app has been deployed, it's the responsibility of the server to provide them.

Unless you are taking the unusual step of augmenting your JRE with custom libraries - which is a bit of a bother, and semi-dangerous as well - this is not something you need to worry about. The default situation is that everything was already done for you.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Question Regarding Java Libraries in Eclipse
 
Similar Threads
Error with JSTL tags in eclipse
Install the WebLogic Plug-In Within the Eclipse
calling java inside a servlet
Ant's classpath vs Eclipse's classpath
installing eclipse