Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error #3

Open
srsh-kh opened this issue Dec 27, 2022 · 1 comment
Open

compile error #3

srsh-kh opened this issue Dec 27, 2022 · 1 comment

Comments

@srsh-kh
Copy link

srsh-kh commented Dec 27, 2022

following the instructions i get this: error: file not found: Window.java
if i go to tictactoe folder i get this: Window.java:19: error: cannot find symbol
private Board board;

@mosarah99
Copy link

It's difficult to determine the exact cause of the error without more information, but here are a few possible solutions:

  1. Check if Java SDK is installed by opening a command prompt or terminal and typing java -version. If Java is not installed, you should download and install the appropriate version of the Java Development Kit (JDK) for their operating system from the Oracle website. I recommend going with the latest version available.
  2. If the JDK is installed, configure the IDE to use it. The exact steps for doing this will depend on the IDE, but usually, you will need to specify the path to the JDK in the IDE's settings or preferences.
  3. If you're using an IDE like Eclipse or IntelliJ, try refreshing the project or rebuilding the project to see if that resolves the issue.
  4. Make sure you open the entire folder as a workspace instead of a single sub-folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants