# I get the error: Syntax Error - Missing name or ; near ‘’? for my first line of code

**URL:** https://discourse.processing.org/t/i-get-the-error-syntax-error-missing-name-or-near-for-my-first-line-of-code/40517
**Category:** Beginners
**Created:** [January 9, 2023, 3:49am UTC](https://discourse.processing.org/t/i-get-the-error-syntax-error-missing-name-or-near-for-my-first-line-of-code/40517 "2023-01-09T03:49:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Kaboom21](https://avatars.discourse-cdn.com/v4/letter/k/96bed5/32.png) [@Kaboom21](https://discourse.processing.org/u/Kaboom21)
#### Post date: [January 9, 2023, 3:49am UTC](https://discourse.processing.org/t/i-get-the-error-syntax-error-missing-name-or-near-for-my-first-line-of-code/40517/1 "2023-01-09T03:49:21Z")

</div>

I have used processing and made a game with python in it and this is my first time using java I’m getting this error for my first line of code which is

```auto
class Player {

```

---

<div class="post-metadata">

### Author: ![Mikey83](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mikey83/32/17956_2.png) [@Mikey83](https://discourse.processing.org/u/Mikey83)
#### Post date: [January 9, 2023, 5:14am UTC](https://discourse.processing.org/t/i-get-the-error-syntax-error-missing-name-or-near-for-my-first-line-of-code/40517/2 "2023-01-09T05:14:41Z")

</div>

just needs a } close bracket
