Skip to main content
All CollectionsOnline IDEUsing the CodeHS IDE
Versions of Programming Languages on CodeHS
Versions of Programming Languages on CodeHS

Learn more about the programming languages and versions used in CodeHS courses and supported in the Sandbox

Lea Sloan avatar
Written by Lea Sloan
Updated over 2 months ago

CodeHS supports many programming languages and versions on our platform. You can learn more about CodeHS program types in this related article: Program Types

On any CodeHS exercise or Sandbox program, you can see additional information about the language and version by going to More > About:

Screenshot of the CodeHS Code Editor highlighting the About page under the Mode tab that shows the language version used in that program.

Below is some general information about the versions of programming languages you will find in CodeHS courses and Sandbox programs.

JavaScript

CodeHS uses ES6, which is the version of JavaScript that all browsers use.

Python

CodeHS provides Python 3.8, 3.11, and 3.12.

The CodeHS Python program types that use Python 3.11 are:

  • Python 3

  • Python 3 Graphics (tkinter)

  • Pygame

  • Python 3 Data Science

  • Python 3 Data Science (Graphics)

Python Turtle, Brython, and Karel versions will vary, and run in web based Python versions that may differ with the standard Python versions.

Explore all the different types of Python programs supported by the Sandbox here. See Using the CodeHS Editor to learn how to change Brython versions.

Java

  • Main CodeHS courses use: Java 8 / 1.8

Java 11

CodeHS now supports Java 11 and the ability to switch between versions of Java. To switch between versions, you can create a file named “run.sh” that uses the jenv command.

To learn more about the run.sh file, check out this tutorial:
CodeHS Tutorial: run.sh

To learn more about using Java 11, check out this demo:

JShell

CodeHS supports JShell, an interactive Java REPL (read-eval-print-loop). In JShell you can explore the Java language without compiling an entire program. Running a JShell uses a 'run.sh' file.

Demo Sandbox Program:

Demo Video:



Still have questions? Contact our team at hello@codehs.com to learn more!

Did this answer your question?