java -jar / i want to run NOT the Main class
hi al,
this looks like a little challenge for me now..
I have a jar , namedxxx.jar which contains my Main class, let's say Foo.class.
So, as of now, if i run java -jar xxx.jar it will obviously run Foo.class as 'entry point'
But, without changing the current packaging/manifest, i have to be able to call class Bar.class which is part of the same jar..
So, the ultimate challenge is to be able to run a class with java -jar which is not the Main class specified in the manifest
i was guessing what are my options....
thanx and regards
marco

