package compiling problems

Hi!

We, two desperate students, tried to compile our sources which lies in the same directory. But there where two classes which we couldn't access (cannot resolve symbol error). Then we tried to set all classes in one package, but there where some miraculous errors:

C:\jdk1.3\lib\ProjVerteiler\pps\Themenvergabe.java:81: cannot access Student

bad class file: C:\jdk1.3\lib\ProjVerteiler\pps\Student.class

class file contains wrong class: pps.Student

Please remove or make sure it appears in the correct subdirectory of the classpath.

public Student[] holeStudentenAusDB(){

and: C:\jdk1.3\lib\ProjVerteiler\pps\Themenvergabe.java:10: 'class' or 'interface' expected

package pps;

our classpath is:

SET CLASSPATH=%JAVA_HOME%\lib;%JAVA_HOME%;%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\locale;%JAVA_HOME%\lib\ProjVerteiler\pps;

we put our sources into the following path:

C:\jdk1.3\lib\ProjVerteiler\pps

Please help!!!!!!!!!!! Aidez-nous!!!!! HIIIIILLLLFFFFFEEEEE!

Danke

L & L

[1086 byte] By [LeaH] at [2007-9-26 1:24:00]
# 1
Hi,You should only add the root of the package to the classpath. Replace this:%JAVA_HOME%\lib\ProjVerteiler\pps;with%JAVA_HOME%\lib\ProjVerteilerHope this helps,Kurt.
leukbr at 2007-6-29 1:03:31 > top of Java-index,Developer Tools,Java Compiler...