Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 871
  • Last Modified:

Javac

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?
0
tmonteit
Asked:
tmonteit
  • 3
  • 3
  • 2
  • +2
1 Solution
 
objectsCommented:
should still be there, why do u think its not.
Have you added the bin directory to your path?
0
 
tmonteitAuthor 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


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

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
objectsCommented:
are you sure thats a jdk, and not just a jre
where did u download it from?
0
 
objectsCommented:
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
0
 
radarshCommented:
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
0
 
Mayank SAssociate Director - Product EngineeringCommented:
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%)
0
 
CEHJCommented:
At that prompt, try

which java
0
 
CEHJCommented:
Sorry - of course

which javac
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 3
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now