Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Where do I find javax.rmi jar?

1,829 views
Skip to first unread message

Frank Garber

unread,
Mar 8, 2001, 1:51:50 PM3/8/01
to
Where can I find the jar files for javax.rmi and javax.naming?

What JDK are they apart of?

I'm using WebGain Studio 4.1 Enterprise Edition, I thought all the
extension packages would be included as part of Java2?

Thanks,

Frank

Nils O. Selåsdal

unread,
Mar 9, 2001, 4:32:24 AM3/9/01
to

"Frank Garber" <garberfc@_nospam_coolsite.net> wrote in message
news:3AA7D4C6.1B9C38E5@_nospam_coolsite.net...

> Where can I find the jar files for javax.rmi and javax.naming?
>
> What JDK are they apart of?
In 1.3.

> I'm using WebGain Studio 4.1 Enterprise Edition, I thought all the
> extension packages would be included as part of Java2?

As usual you can get the extensions from java.sun.com and click the
'Products & APIs'
in the left menu.

Frank Garber

unread,
Mar 9, 2001, 10:01:58 AM3/9/01
to
Nils,

I'm on the http://java.sun.com/products/?frontpage-main page that lists
all kinds of SDK and packages. I just don't know where in the haystack
is the needle I'm looking for.

I'm trying to compile a class that was given to me and have a problem
with the following import statement:
import javax.rmi.PortableRemoteObject;

The following is the error message:
VisualCafe (15:02:29): Error:
D:\com\mm\framework\dor\DORServiceImp.java(7): Class
javax.rmi.PortableRemoteObject not found in import

Any help would be appreciated,

Frank

Frank Garber

unread,
Mar 9, 2001, 10:52:08 AM3/9/01
to
Nils,

I found the class in the 2sdkee1.3\lib\j2ee.jar file. It satisfies the
import command, but when I make the static call
PortableRemoteObject.narrow(home, home.getClass());

I get the error message:
VisualCafe (10:50:16): Error: D:\com\mm\framework\dor\DORServiceImp.java:
Class javax.rmi.CORBA.PortableRemoteObjectDelegate not found in
com.sun.corba.ee.internal.javax.rmi.PortableRemoteObject

and
VisualCafe (10:50:16): Error:
D:\com\mm\framework\dor\DORServiceImp.java(370): Can't make static
reference to method java.lang.Object narrow(java.lang.Object,
java.lang.Class) in
com.sun.corba.ee.internal.javax.rmi.PortableRemoteObject

Any thoughts?

Frank

Frank Garber

unread,
Mar 9, 2001, 11:57:46 AM3/9/01
to
I think I know why it can't find the Delegate. It's expecting to find it at:

import javax.rmi.PortableRemoteObject;

and I need to specify it at the following because thats the path in the jar
file
import com.sun.corba.ee.internal.javax.rmi.PortableRemoteObject;

0 new messages