posted 19 years ago
hi
i'm trying to compile the following code using a 3rd party driver. by using the following
javac -classpath "C:\beans" webtopjdbc.java
and getting the following error
webtopjdbc.java:4: 'class' or 'interface' expected
public Class webtopjdbc {
^
webtopjdbc.java:1: package basiswebtop does not exist
import basiswebtop.*;
^
webtopjdbc.java:2: package basisjdbc does not exist
import basisjdbc.*;
do i have to use the main method ?
do i have to instantiate the class ?
do i have to use the import statements ?
both jar files are in the directory so why isn't it being read ?
cheers
chris
One day all greenhorns will run free ...