What is XBootClassPath

Hello All,

What is XBootClasspath option in Java interpreter??
LVL 14
sudhakar_koundinyaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

girionisCommented:
> What is XBootClasspath option in Java interpreter??

You use it to add the classes to the bootstrap classloader.

0
petmagdyCommented:
Hayyy sudhaker,
u r one of the top experts in java, i can simply go to google and get some phonny answer, would u give me the points ;-) ?
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

TimYatesCommented:
0
sudhakar_koundinyaAuthor Commented:
OK I have one more question here

I have two jar files a.jar and b.jar

both have same classes and methods signature is also same in both the classes. Only the difference is methods implemetation may be different.

suppose if a.jar is must to be set in class path and the requirement what I have is from b.jar

then
set classpath=a.jar;b;jar may not be helpful in this scenario. In this case how xBootClasspath is helpful for me to use b.jar functionalities

The reason to ask this question is

rt.jar is default and xml api implementation in this jar classes is same as of xerces.jar and xmlapis.jar

now i want to force JVM to use xmlapis.jar and u know rt.jar is default

Thanks sudhakar
0
sudhakar_koundinyaAuthor Commented:
>>u r one of the top experts in java, i can simply go to google and get some phonny answer, would u give me the points ;-) ?

U can see the actual problem that i am  facing in my previous comment ;-)
0
girionisCommented:
> now i want to force JVM to use xmlapis.jar and u know rt.jar is default

Add them to the -Xbootclasspath should work. Have a look at the link I posted.
0
CEHJCommented:
>>
The reason to ask this question is

rt.jar is default and xml api implementation in this jar classes is same as of xerces.jar and xmlapis.jar

now i want to force JVM to use xmlapis.jar and u know rt.jar is default
>>

You should look at the "Endorsed Standards Override Mechanism"
http://java.sun.com/j2se/1.4.2/docs/guide/standards/

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CEHJCommented:
8-)
0
girionisCommented:
:)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.