> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Costin Manolache
> 
> Well - you need at least something in the classpath :-) That 
> something can create a class loader with all the other jars - 
> and call a method inside.
>

Why?
The java/lang/ClassLoader is all that I have.

> What you should call is Registry.loadMBeans() or ant or 
> something like that
> - which in turn will load an mbeans.xml file ( either ant 
> tasks or just extended mlet or even plain mlet ).
> 

No .xml & co., all the config is set by the JNI.

> The target is to allow it to start with only jmx.jar, 
> commons-modeler.jar, an xml parser - but I need to implement 
> a class loader in modeler ( so classpath can be declared in 
> mbeans.xml ). If you use ant as JMX controler
> - that should work fine - and you'll need ant.jar. jmx.jar, 
> commons-modeler.jar and a parser in your path.
> 

Remember I don't have nothing in the classpath.
I'm trying to start the TC simply with the following:

java SomeClass

MT.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to