File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "RMIC compiler help" Watch "RMIC compiler help" New topic

RMIC compiler help

Frank Lu

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.


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?

Beny Na
Ranch Hand

Joined: May 26, 2004
Posts: 159
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 :

Frank Lu

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

Joined: Oct 21, 2009
Posts: 1
I agree. Here's the link:
subject: RMIC compiler help
It's not a secret anymore!