Link to home
Start Free TrialLog in
Avatar of _Esam
_Esam

asked on

rmiregistry start error


Hi,
I just noticed I get a problem when I start the rmiregistry
When I start the rmiregistry it goes to a different rmiregistry.
It goes to \oracle\jre\rmiregistry.exe
It should go to \jdk.......\bin\rmiregistry.exe
(This is just happening with my home computer -
the program was running fine at the lab)
How can I set this...??

Due to this problem...I can't bind the instance to the registry.

Thanks
_Esam
ASKER CERTIFIED SOLUTION
Avatar of sudhakar_koundinya
sudhakar_koundinya

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of _Esam
_Esam

ASKER

Well,
I did notice from the setting>control>system...
that there indeed was an entry for oracle\jre\....
This was the first entry..
It also had the entry for the jdk
If my jdk bin is at:

c:\Program Files\Java\jdk1.5.0_01\bin

The I should  change > c:\jdk1.4\bin (as u suggested) to the above path ..right?
Avatar of _Esam

ASKER

Well I did that...
Now I started the rmiregistry...
It is stuck...
Should it not open another window ???
Or should it keep prompting at the on the next line of the command that I
entered >rmiregistry

??

_Esam
Avatar of _Esam

ASKER

It's not working...
can u post the path setting. When I tested, it is working fine at my end.

Regards
sudhakar
Avatar of _Esam

ASKER

Strang....why does it look like this..
I set it on the dos as u suggested....
Should I change it by settings>control panel>system>advanced>env var ???

C:\Program Files\Java\jdk1.5.0_01\bin;%SystemRoot%\system32;
%SystemRoot%;%SystemRoot%\System32\Wbem


Should it make difference??? as long as I have the path for jdk???
Thax.
_Esam

Your setting is OK.

But I don't uderstand why it is not working on ur system
Check in Windows Task Manager, if any old rmiregistry application is executing. If so, terminate it and test again

Regards
sudhakar

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of _Esam

ASKER

Thanks experts .....
Sudhakar i- u r right - my settings were ok...i set them up as u suggested.
durgaprasad was also right - i thought that rmiregistry would bring up another
window...this comment was helpful -- to overcome my confusion...

I gave major points to sudhakar....some to durga - for assistance...

My client/server program is running ok now...

_Esam