Solved

Java Libraries runtime vs compile time

Posted on 2011-03-03
2
523 Views
Last Modified: 2012-05-11
Hi,

I have an application that uses over 50 libs that are currently in the eclipse classpath for it.  I need to figure out which jars are actually compile time and which ones are runtime since the end product is going to change significantly if i can filter it out.

How do i do this process? say im looking at, say im looking at xalan-2.7.0.jar ... I dont know where it is used.  How do i make an assumption on if its runtime requirement or compile time?

Thanks
0
Comment
Question by:Squadless
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 35031295
remove them all from your build path and add them back in as required to resolve the compile errors
theres no automated way
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 250 total points
ID: 35031303
You can determine the runtime requirement by using  -verbose:class as an argument to java.exe. Compile time should be discernible from your import statements
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adding a countdown to HTA 12 115
Coding for the first time 9 103
How does initial implicit objects  are set up in JSP? 7 41
Extract data from output with RegEx 1 41
A short article about problems I had with the new location API and permissions in Marshmallow
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question