• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question Regarding Java Libraries in Eclipse

 
Michele Smith
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
[Thumbnail for screenshot.jpg]
Screenshot of Navigation in Eclipse Helios
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic