Java JDK Installation Problem - Need Help!
Below is my program Access.java which resides in c:\java. It generates a "NoSuchMethodError" when I run it on my Windows 2000 computer at work. When my friend here at work runs the SAME program on his Windows 2000 computer, it runs fine. I have No idea why! I suspect it's a classpath problem, but I use the same classpath on my Windows 98 computer at home w/o a problem.
For windows 2000, I set my path statement by going into the Control Panel ->System->Advanced Tab and adding a user variable named path.
To set my classpath, I use sysedit. Anyway, here's what my path and classpath statements look like in my c:\autoexec.bat
path=c:\windows;c:\windows\command;c:\java
path=c:\jdk1.3.1\jre\bin;c:\jdk1.3.1\bin;%path%
set classpath = .;%classpath%;c:\jdk1.3.1\jre\lib;c:\java\;
Finally, here's my c:\java\Access.java program that blows up (only on MY Windows 2000 machine)
//Access.java
package com.gfarms.geometry;
class Other
{
public void fnc(int b)
{
System.out.println("integer received = " + b);
}
}
public class Access
{
public static void main(String[] args)
{
Other a = new Other();
a.fnc(48);
}
}
Any help would be deeply appreciated!

