Sam Don

Greenhorn
+ Follow
since Aug 28, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sam Don

Just wondering what IDE were you using ,, or is that done on UNIX , I am struggling getting my stub and skelton created using websphere.
18 years ago
Hi there , I am trying a simple ant script to compile my class , here is the script :

<?xml version="1.0"?>
<project name="RMI" default="echo" basedir=".">
<target name="excutionOfRMI">
<rmic classname="AccountImpl" classpath=".." base=".."/>
</target>
</project>

I am getting the following error when I run the script:
Cannot use SUN rmic, as it is not available. A common solution is to set the environment variable JAVA_HOME or CLASSPATH.


I am using V5.1 , not sure if ther rmic not an option in v5.1
18 years ago
Hi there , I am very new to websphere. Can someon tell me how to get the stub and skelton created , I have the interface and the implemention of it. but when I compile the class , it errors with

java.rmi.StubNotFoundException: Stub class not found: DateServerImpl_Stub; nested exception is:
java.lang.ClassNotFoundException: DateServerImpl_Stub
java.lang.ClassNotFoundException: DateServerImpl_Stub
at java.net.URLClassLoader.findClass(URLClassLoader.java:240)
at java.lang.ClassLoader.loadClass(ClassLoader.java:516)

I am not finding the option to compile using the rmic or do the rmiregistry& ,, can someone guide me on doing this . thanks much
18 years ago