wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes RMIC compiler help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "RMIC compiler help" Watch "RMIC compiler help" New topic
Author

RMIC compiler help

Frank Lu
Greenhorn

Joined: Nov 03, 2006
Posts: 23
not sure if this is the right place to ask the question

I downloaded java5.0 JDK, but i couldnt run the rmic compiler, everytime I type something start with 'rmic' i get the following from my machine(winXP)


C:\Documents and Settings>java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)

C:\Documents and Settings>
C:\Documents and Settings>rmic -help
'rmic' is not recognized as an internal or external command,
operable program or batch file.


Thanks


SCJP<br />SCBCD <br />SCJD - 97.5%
Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
You do know how to set your system path and classpath, do you?


42
Beny Na
Ranch Hand

Joined: May 26, 2004
Posts: 159
hi,
first from dos prompt you can type : path (c:\path) to check your current path...

or find where your rmic is, using dir /s rmic.???
e.g my rmic is located at C:\j2sdk1.4.2_11\bin
..\bin contain javac.exe java.exe javadoc, etc...

then you need to add it to your path.
from your error, you are using windows, then :
1. go to start->setting->controlpanel
2. and choose system
3. then click on advanced tab,
4. choose environment variables.
5. from system variables panel choose variable field with value "path"
6. then double click or click edit button...
you will see a text box, then add value c:\whereyourjava5reside\bin;
or if your rmic is located at c:\a\b\rmic.exe
then put command on c:\>
"path c:\a\b"

example :
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\j2sdk1.4.2_11\bin;C:\junit4.1;

bye
Frank Lu
Greenhorn

Joined: Nov 03, 2006
Posts: 23
Thanks Beny!
you kiss
Greenhorn

Joined: Oct 21, 2009
Posts: 1
I FEEL GOT SOME NEW.THANKS
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMIC compiler help
 
Similar Threads
DST in Java?
jre compiling error
PLS help -urgent Prob with headfirst Advice
if (false == true) Universe.end(42);