From: guyr at masergy.com (Guy Rouillier) Date: Tue, 12 Sep 2006 15:40:46 -0500 Subject: [Pljava-dev] Hello World example failure In-Reply-To: <4506DCF9.3090504@softhome.net> Message-ID: Have you been *reading* any of the replies you've been receiving? I see two mistakes below that others have already provided solutions for. Additional details inline. Scott Petersen wrote: > I am not trying to be difficult, but I am LOST and do not know how to > move forward with this simple test. > > *C:\com\mycompany\helloworld>*type HelloWorld.class > package com.mycompany.helloworld; > public HelloWorld { public String helloWorld() { return "Hello > World"; } } * Flip just told you that you don't put source code into a class file. Source goes into a .java file and gets compiled, via javac, into a class file. Suggest you get familiar with Java before trying to create a Java stored procedure. > *C:\com\mycompany\helloworld>*jar -cf helloworld.jar *.class And Thomas explained in an earlier email that you can't just create a jar file by jarring up your class files at this level. Your directory structure in the JAR file must reflect the package. So, if you had a valid class file (which you don't, see above), you would create the JAR file by running the "jar" command at C:\, using the directory structure you have above. -- Guy Rouillier