📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

I have installed Java but can't find javac

thor
thor Posts: 5,529
Part of the Furniture 1,000 Posts Name Dropper
Forumite
I have just installed the Java SDK version 6 onto my Windows Xp Pc but am unable to find the java compiler 'javac'. It is supposed to be in the bin directory but I have searched my whole system and can't see it.
Any ideas?

Comments

  • davb
    davb Posts: 1,293
    Part of the Furniture Combo Breaker
    Forumite
    At a quick glance is sounds like you have JRE rather than JDK
  • redped
    redped Posts: 824
    Part of the Furniture 500 Posts Name Dropper
    Forumite
    Assuming you can find the other Java executables (e.g. java.exe, javaw.exe) in your bin dir, then I'd say you've installed the JRE instead of the JDK.

    What's the complete bin dir path of your install? This should tell you whether you've got the JDK or JRE installed. If it's definitely the JDK you've installed, then uninstall & reinstall, in case the first attempt didn't extract all the files correctly.
  • thor
    thor Posts: 5,529
    Part of the Furniture 1,000 Posts Name Dropper
    Forumite
    Both of you were spot on guys. I had 3 versions installed. An old and a new JRE and the JDK. I was looking in the JRE folders for javac which was why I could not find it.
    It is in the JDK bin folder as it is supposed to be so thanks for that really useful suggestion.:money:
This discussion has been closed.
★ ★ ★ Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 355.8K Banking & Borrowing
  • 254.9K Reduce Debt & Boost Income
  • 456.2K Spending & Discounts
  • 248.4K Work, Benefits & Business
  • 606K Mortgages, Homes & Bills
  • 179K Life & Family
  • 263.9K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.