File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMIC compiler help

 
Frank Lu
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You do know how to set your system path and classpath, do you?
 
Beny Na
Ranch Hand
Posts: 159
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Beny!
 
you kiss
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I FEEL GOT SOME NEW.THANKS
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic