• Post Reply Bookmark Topic Watch Topic
  • New Topic

Where is javac  RSS feed

 
Steve Dyke
Ranch Hand
Posts: 1783
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If my machine class path is

C:\WDSC\JAVA;.;C:\WDSC\sdk;C:\Program Files\Ibm\Client Access\jt400\lib\uitools.jar;C:\Program Files\Ibm\Client Access\jt400\lib\jui400.jar;C:\Program Files\Ibm\Client Access\jt400\lib\data400.jar;C:\Program Files\Ibm\Client Access\jt400\lib\util400.jar;C:\Program Files\Ibm\Client Access\jt400\jre\lib\jhall.jar;C:\Program Files\IBM\Client Access\jt400\lib\x4j400.jar;C:\Program Files\IBM\Client Access\jt400\lib\jt400.jar;C:\Program Files\IBM\Client Access\jt400\lib\reportwriter.jar;C:\Program Files\IBM\Client Access\jt400\lib\composer.jar;C:\Program Files\IBM\Client Access\jt400\lib\outputwriters.jar;C:\Program Files\IBM\Client Access\jt400\lib\jasperreports.jar;C:\Program Files\IBM\Client Access\jt400\lib\JRtest1.jasper

And the javac is located in the c:\WDSC\sdk\bin folder.

Shouldn't I be able to call the javac from any directory command line?
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is "c:\WDSC\sdk\bin" part of your PATH?? if yes then is it correct that you should call javac from any folder.
 
David Gill
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rene Larsen:
Is "c:\WDSC\sdk\bin" part of your PATH?? if yes then is it correct that you should call javac from any folder.


Yes before you need to add ;c:\WDSC\sdk\bin

and yes you need to add the semi-colon in there to tell the path that this is a seperate directory from the one before it. Currently Your path does not have the c:\WDSC\sdk\bin in it yet.
 
Steve Dyke
Ranch Hand
Posts: 1783
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I was tring to put it in the wrong place.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Steve Dyke:
If my machine class path...

I'm not sure if this was made clear, but it's the PATH variable that should contain javac's location. The CLASSPATH is an entirely different thing.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!