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

Need a bit of help. #2

Open
BifrostedCurse opened this issue May 25, 2020 · 1 comment
Open

Need a bit of help. #2

BifrostedCurse opened this issue May 25, 2020 · 1 comment

Comments

@BifrostedCurse
Copy link

On the Breakout.java window of the code it says this,"Breakout.java:15: error: cannot find symbol
add(new Board());". How do I fix this issue?

@UpliftChunk
Copy link

it means that your running the file from wrong directory. Move to src folder at the terminal (cd ./src) and then follow the steps

javac -d . ./com/zetcode/Breakout.java
java com.zetcode.Breakout

more or less i am able to have the output in new window but failing to run it, i still need help. The java window pops up. it is inactive to my keypad. the console displays -1 -1 and then the window displays Game Over. i've figured out the images are failing to load. i'm still trying to know how to run this code.

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