Solved

Java Libraries runtime vs compile time

Posted on 2011-03-03
2
522 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
collection output issue 9 62
glassfish admin console 1 21
Assignment from incompatible pointer type? 2 37
Oracle programming for starter 14 30
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

749 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