First, Java isn't Javascript...just to avoid confusion. Second, this really isn't a general Java support forum. If you want to use jPCT, it's mandatory to learn the java language first, which will take some time. Once you have understood what Java is and how it works, come back here and start using the engine. The other way round is a very bad choice IMHO. More info about Java can be found at
http://java.sun.com and of course in the Java forums at
http://forum.java.sun.com. I strongly suggest to look for a general Java tutorial or a beginner's book to get you started.