?
Solved

rmiregistry start error

Posted on 2005-03-09
11
Medium Priority
?
471 Views
Last Modified: 2012-08-13

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
0
Comment
Question by:_Esam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
11 Comments
 
LVL 14

Accepted Solution

by:
sudhakar_koundinya earned 1600 total points
ID: 13493867
probably your path is set to \oracle\jre\

remove that and add jdk path to your path

As an example at dos prompt. try like this

set path=
set path=%path%;c:\jdk1.4\bin;c:\windows;c:\windows\System32\;

Regards
Sudhakar
0
 

Author Comment

by:_Esam
ID: 13493995
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?
0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 13494009
yes
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:_Esam
ID: 13494053
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
0
 

Author Comment

by:_Esam
ID: 13494094
It's not working...
0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 13494141
can u post the path setting. When I tested, it is working fine at my end.

Regards
sudhakar
0
 

Author Comment

by:_Esam
ID: 13494263
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

0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 13494483
Your setting is OK.

But I don't uderstand why it is not working on ur system
0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 13494490
Check in Windows Task Manager, if any old rmiregistry application is executing. If so, terminate it and test again

Regards
sudhakar

0
 
LVL 6

Assisted Solution

by:durgaprasad_j
durgaprasad_j earned 400 total points
ID: 13498421
>>>Should it not open another window ???
no.
I was not strucked.
It wont show you anything by default.
Hope this helps
0
 

Author Comment

by:_Esam
ID: 13511614
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
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month8 days, 22 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question