Skip to content

Can't run the java code #2267

Open
Open

Description

@hjue

Environment:

  • VS Code Version: Version: 1.63.2

  • Extension Version:

  • JDK Type & Version: java "17.0.1"

  • OS Type & Version: Mac Monterey 12.1

Step to Reproduce:
Installing extensions
image

Settings for the JDK

image
image
Creating a source code file
image
image

Can't run the java code
image

image

Activity

  1. testforstephen commented on Jan 6, 2022

    @testforstephen
    Collaborator

    @hjue Could you share the logs from these places?

    • F1 -> Java: Open All Log Files
    • Help -> Toggle Developer Tools -> Console
  2. hjue commented on Jan 11, 2022

    @hjue
    Author

    dev tools log screenshot
    image

    client.log

    {
      message: 'Language Support for Java (Syntax Server) server encountered error: [object Object], Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed',
      level: 'error',
      timestamp: '2022-01-11 19:00:50.279'
    }
    {
      message: '[Error - 7:00:50 PM] Connection to server got closed. Server will not be restarted.',
      level: 'info',
      timestamp: '2022-01-11 19:00:50.280'
    }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions