JDK 13 with JavaFX 11 USB Portable Environment

  • Download this 473MB zip file
  • Unzip the contents onto a freshly formatted USB drive.
  • Make sure the root of the USB has these 3 directories: eclipse, Java, workspace, and 1 file called js.cmd.
  • When you want to start coding in this environment, click the js.cmd file. It will launch eclipse.
  • Projects get stored in the workspace directory.
  • Be sure to exit eclipse and wait for the shell window to close. Then eject the USB drive, or you will lose your work!

JavaFX11 is installed on this image. It’s use in a project will be discussed in the CSC-112 Intermediate Java course.

JDK 10 USB Portable Environment

  • Download this 612MB zip file
  • Unzip the contents onto a freshly formatted USB drive.
  • Make sure the root of the USB has these 3 directories: eclipse, Java, workspace, and 1 file called js.cmd.
  • When you want to start coding in this environment, click the js.cmd file. It will launch eclipse.
  • Projects get stored in the workspace directory.
  • Be sure to exit eclipse and wait for the shell window to close. Then eject the USB drive, or you will lose your work!

Why JDK 10? It’s the last version of the JDK that has JavaFX built in. JavaFX is a technology that allows building GUI code. We will use that technology in the CSC-112 Intermediate Java course.

That’s not to say the newer JDKs can’t compile JavaFX. It’s that JavaFX is a separate download and is a chore to incorporate in the JDK. I will work on doing that over the semester break and provide an updated JDK Portable Environment.

Download and Use JDK 10.0.2!!!

Link to: https://cs.stcc.edu/getting-familiar-with-linux-for-java-programmers/

Don’t use the latest Java 11. For whatever reason, Oracle decided to not bundle JavaFX with it.

If you really what to use Java 11, you’ll need to download and install JavaFX separately. I’ll leave you to google the instructions on how to do that.

Use JDK 10.0.2. It has JavaFX built in and is what is installed in our labs.

If you already installed Java 11, uninstall it entirely.  

Download JDK 10.0.2. Since Oracle is pushing the latest and greatest Java 11, you’ll need to jump through some hoops to get it. Here’s how:

  • Go to the JDK download page.
  • At the bottom of the page, there’s a Java Archive.  Click that.
  • Select Java SE 10
  • You may need to create an account to download it. Go ahead; it’s safe.

You’ll have a much better JavaFX experience!

Good Luck

Sign up for a GitHub Account

If you going to be a programmer, then github is a site you’ll need to use.

Go here: https://github.com/ and create an account for yourself.  We will be using github for homework submissions.

In particular the part of github we’ll  be using is the gist function located here:

https://gist.github.com/

You can submit multi-file projects under just one URL! You also have a record of all your work in one convenient location.