Jump to content

Recommended Posts

Posted

form pahimars github

 

    Download and install the Java JDK.
        Windows/Mac download link. Scroll down, accept the Oracle Binary Code License Agreement for Java SE, and download it (if you have a 64-bit OS, please download the 64-bit version).
        Linux: Installation methods for certain popular flavors of Linux are listed below. If your distribution is not listed, follow the instructions specific to your package manager or install it manually here.
            Gentoo: emerge dev-java/oracle-jdk-bin
            Archlinux: pacman -S jdk7-openjdk
            Ubuntu/Debian: apt-get install openjdk-7-jdk
            Fedora: yum install java-1.7.0-openjdk
    Windows: Set environment variables for the JDK.
        Go to Control Panel\System and Security\System, and click on Advanced System Settings on the left-hand side.
        Click on Environment Variables.
        Under System Variables, click New.
        For Variable Name, input JAVA_HOME.
        For Variable Value, input something similar to C:\Program Files\Java\jdk1.7.0_51 exactly as shown (or wherever your Java JDK installation is), and click Ok.
        Scroll down to a variable named Path, and double-click on it.
        Append ;%JAVA_HOME%\bin EXACTLY AS SHOWN and click Ok. Make sure the location is correct; double-check just to make sure.
    Open up your command line and run javac. If it spews out a bunch of possible options and the usage, then you're good to go. If not, either try the steps again or check the FAQ.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.