Skip to content

Problem report: https://runestone.academy/ns/books/published/comp230_RA_fa26/sec-lets-look-at-a-java-program.html #1480

Description

@irunestone

A problem was reported through the Runestone "Report a Problem" form.

Field Value
Reporter lamorim@sandiego.edu
Email lamorim@sandiego.edu
Course comp230_RA_fa26
Page https://runestone.academy/ns/books/published/comp230_RA_fa26/sec-lets-look-at-a-java-program.html
Reported at 2026-09-06T01:06:22.171271

Description

In Section 2.1, “Let’s Look at a Java Program,” Listing 2.1.1 appears to be displaying Python code instead of Java code. The example uses Python syntax such as def, init, and self, even though the section is supposed to introduce a Java program. I’m not sure if the wrong code example was uploaded or if there is an issue with how the textbook is displaying the content.

Browser console log

[warn] No ad placements found.
[log] Timezone cookie matches, not sending timezone to server
[log] This page served by undefined
[log] triggering runestone:pre-login-complete
[log] Runestone pre-login complete
[log] Loading Runestone component: activecode
[log] before get hist
[log] before get hist
[log] before get hist
[log] before get hist
[log] SpliceWrapper: received message subject: undefined from iframe: unknown
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] Reading score sent for page
[log] adding video popouts
[log] setting up pretext
[log] Save logging event {"event":"knowl","act":"click","div_id":"./knowl/xref/python-hello-world.html","course_name":"comp230_RA_fa26","clientLoginStatus":true,"timezoneoffset":7}
[log] Runestone component activecode is being queued for import
[log] Webpack is starting the loading process for the following Runestone modules ["activecode"]
[log] Runestone component activecode has been loaded
[log] before get hist
[log] making a new scrubber
[log] Fake change event, skipping the log
[log] Save logging event {"event":"knowl","act":"click","div_id":"./knowl/xref/python-hello-world.html","course_name":"comp230_RA_fa26","clientLoginStatus":true,"timezoneoffset":7}
[log] focus on [object HTMLButtonElement]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions