We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Javac

tmonteit
tmonteit asked
on
Medium Priority
916 Views
Last Modified: 2013-11-23
What happened to javac in the sdk 1.5 build 6?  I used to command line build java files with javac X.java.  What should I use instead?
Comment
Watch Question

Mick BarryJava Developer
CERTIFIED EXPERT
Top Expert 2010

Commented:
should still be there, why do u think its not.
Have you added the bin directory to your path?

Author

Commented:
There's a javacpl.exe    if a javacpl my System.out.println("HelloWorld"); program nothing happens.

/cygdrive/c/code/java/bin
$ ls
JavaWebStart.dll  dt_socket.dll      jpeg.dll        nio.dll
JdbcOdbc.dll      eula.dll           jpicom32.dll    orbd.exe
NPJPI150_06.dll   fontmanager.dll    jpicpl32.cpl    pack200.exe
NPJava11.dll      hpi.dll            jpiexp32.dll    policytool.exe
NPJava12.dll      hprof.dll          jpinscp.dll     rmi.dll
NPJava13.dll      instrument.dll     jpioji.dll      rmid.exe
NPJava14.dll      ioser12.dll        jpishare.dll    rmiregistry.exe
NPJava32.dll      j2pkcs11.dll       jsound.dll      servertool.exe
NPOJI610.dll      jaas_nt.dll        jsoundds.dll    ssv.dll
RegUtils.dll      java.dll           jucheck.exe     tnameserv.exe
awt.dll           java.exe           jusched.exe     unicows.dll
axbridge.dll      java_crw_demo.dll  keytool.exe     unpack.dll
client            javacpl.exe        kinit.exe       unpack200.exe
cmm.dll           javaw.exe          klist.exe       verify.dll
dcpr.dll          javaws.exe         ktab.exe        w2k_lsa_auth.dll
deploy.dll        jawt.dll           management.dll  zip.dll
dt_shmem.dll      jdwp.dll           net.dll


Author

Commented:
Oh yes, what happened to jar?  I used to jar -tvf X.jar to verify class files.

Mick BarryJava Developer
CERTIFIED EXPERT
Top Expert 2010

Commented:
are you sure thats a jdk, and not just a jre
where did u download it from?
Mick BarryJava Developer
CERTIFIED EXPERT
Top Expert 2010

Commented:
thats the jdk, are you sure that it was installed in that directory and not somewhere else.
Default is to put it in Program Files

Commented:
Well, I don't have access to the link you posted. Anyways, I strongly support objects. It's actually
a JRE you've installed in disguise of a JDK. Recheck that.


________
radarsh
Principal Technologist
CERTIFIED EXPERT
Commented:
Also, where are you running your application from? You might need to add the JDK\bin directory to your PATH if you are running it from some other directory (better set JAVA_HOME environment variable to the JDK directory and SET PATH=%JAVA_HOME%\bin;%PATH%)

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
CERTIFIED EXPERT
Top Expert 2016

Commented:
At that prompt, try

which java
CERTIFIED EXPERT
Top Expert 2016

Commented:
Sorry - of course

which javac
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.