Can't load JAR File using JAVA BDK
Posted on 2004-09-02
I am using BDK 1.1 . I am having trouble loading any .jar file into the BDK. It gives the following error:
WARNING: Could not instantiate bean "LoginBean" from JAR "C:\jdk1.3.1_02BDK\beanbox\LoginBean.jar"
We couldn't open the class file "LoginBean.class" in the JAR
Here is the loginbean.mft file:
Here is the .bat file I am using to start BDK:
if "%OS%" == "Windows_NT" setlocal
Here is the command I used to create the loginbean.jar file:
jar cfm loginbean.jar loginbean.mft loginbean.class
My environment variables have all been set in the windows environment variables section:
This is my directory structure:
As you can see I am using jdk1.3.1_02. I am using Windows XP Pro Service Pack 1. I am having exactly the same problems with some Windows 2000 machines. I have a feeling that there is something missing in the CLASSPATH variable to get my JAR files to work but I don't know what it is.
Please help, I need a solution ASAP!!!