Yahoo Clever wird am 4. Mai 2021 (Eastern Time, Zeitzone US-Ostküste) eingestellt. Ab dem 20. April 2021 (Eastern Time) ist die Website von Yahoo Clever nur noch im reinen Lesemodus verfügbar. Andere Yahoo Produkte oder Dienste oder Ihr Yahoo Account sind von diesen Änderungen nicht betroffen. Auf dieser Hilfeseite finden Sie weitere Informationen zur Einstellung von Yahoo Clever und dazu, wie Sie Ihre Daten herunterladen.

How do I set the JDK home path?

I keep setting my home path to C:\Program Files\Java\jdk1.6.0, but whenever i try to compile it tells me my home path isn't set and it resets the home path to C:\Program Files\Java\jdk1.6.0_23, which isn't even a folder on my computer. How do I get it to compile?

Any help is much appreciated.

6 Antworten

Relevanz
  • vor 1 Jahrzehnt
    Beste Antwort

    Introduction to Java Development Kit (JDK)

    see below

  • ?
    Lv 4
    vor 5 Jahren

    For the best answers, search on this site https://shorturl.im/ax1FZ

    It's been a long time since I've used JCreator, so my memory is a bit fuzzy. Although I'm not sure if it will work, one thing you could try is to reinstall JCreator. iirc, if you install JCreator AFTER having already installed the Java JDK, JCreator should be able to automatically locate the Java JDK. EDIT: Also, it seems like you set your path to C:\Program Files (x86)\Java\jre6\bin\, but the JRE typically doesn't have javac.exe. The JRE contains only the runtime environment (which is java.exe). The JDK seems like a more appropriate path.

  • ?
    Lv 4
    vor 4 Jahren

    Java Jdk Home

  • keira
    Lv 4
    vor 4 Jahren

    Jdk Home

  • Wie finden Sie die Antworten? Melden Sie sich an, um über die Antwort abzustimmen.
  • vor 6 Jahren

    This Site Might Help You.

    RE:

    How do I set the JDK home path?

    I keep setting my home path to C:\Program Files\Java\jdk1.6.0, but whenever i try to compile it tells me my home path isn't set and it resets the home path to C:\Program Files\Java\jdk1.6.0_23, which isn't even a folder on my computer. How do I get it to...

    Quelle(n): set jdk home path: https://tr.im/Mg5C5
  • vor 5 Jahren

    the path should point to the "bin" directory (but i mainly use NetBeans, so i don't know if this applies) it should look like: C:\Program Files\JDK\bin

Haben Sie noch Fragen? Jetzt beantworten lassen.