[Pljava-dev] User defined Function
Andreas Rossel
rossel at peranto.de
Mon Feb 18 11:48:11 UTC 2008
:~\-----Ursprüngliche Nachricht-----
:~\Von: Kris Jurka [mailto:books at ejurka.com]
:~\Gesendet: Samstag, 16. Februar 2008 00:59
:~\
:~\On Thu, 14 Feb 2008, Andreas Rossel wrote:
:~\
:~\> I found a workaround to my problem. If I put my method in a second class
:~\> beside the class with the main-routine it works! :D
:~\>
:~\> Is this the way it should be?
:~\>
:~\
:~\No, that's not right. Perhaps your jar file isn't being created
:~\correctly? Your original description stated that you needed to add a main
:~\method to be able to create the jar in the first place which sounds
:~\suspicious. Perhaps verifying it with "jar -tf myjarfile.jar" and
:~\checking to see that everything is there would tell us something.
:~\
You found the prime suspect!
I tried to create the JAR without a main() by deleting the line:
Main-Class: test
out of my JAR-manifest. But doing so produced an error. Now I just deleted the classname and it works.
Thanks a lot.
Andreas
More information about the Pljava-dev
mailing list