Problem with NetBeans 5.0 IDE

User b8eed45673

17-09-2006 08:23:24

Please help setup NetBeans. I try to compiling small jsp:


Code:



<%@page import="chemaxon.jchem.db.DatabaseProperties" %>





<html>


    <body>


        <h1>JSP Page</h1>


    </body>


</html>








When i try run this sample under NetBeans it returns error:





package chemaxon.jchem.db does not exist








I've added 'c:\jchem\lib\' to library path in project properties. What I do wrong? How to link necessary libraries correctly?





Using:


tomcat 5.5.9


netbeans 5.0


jchem 3.1.6

ChemAxon 9c0afc9aaf

18-09-2006 05:27:13

Hi,





I do not have much experience with NetBeans, but a universal Java advice:





Please add jchem.jar explicitly to your classpath, not the including directory.





Best regards,





Szilard

User b8eed45673

18-09-2006 07:50:25

Thanks a lot for advice. Now it works ;)