Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do you run Java Puzzle Ball ?

9a14f127-8560-49af-a391-1434f9fe7f39Apr 27 2017 — edited Oct 30 2019

I've downloaded the JavaPuzzleBall jar file and now I'm trying to run it.

I've tried

java -jar JavaPuzzleBall.jar

java -cp JavaPuzzleBall.jar  javafxapplication01.JavaPuzzleBall

I've tried extracting the contents of the jar file into a directory and then, from this directory, running

java -cp .  javafxapplication01.JavaPuzzleBall

I've tried all the above using -classpath instead of -cp

In all cases the response I get is

Error: Could not find or load main class javafxapplication01.JavaPuzzleBall

I can see the JavaPuzzleBall.class file in the jar file in the correct location and when I extracted the contents it was there in the javafxapplication01 directory.

I've downloaded the jar file three times in case it had been corrupted, but still the same result.

Any ideas what the problem may be ?

Stuart

Comments

BluShadow
Maybe a quick search on the internet has the answer...

http://dba.ipbhost.com/index.php?showtopic=8736
21205
Answer
It's probably a problem with your tool. Assuming you're on Oracle 11gR1, run the script in SQL*Plus and it will work.
Marked as Answer by 663394 · Sep 27 2020
SomeoneElse
The CONTINUE statement is a new feature of 11g.

You didn't tell us what version you are using.
663394
Thanks I actaully stumbled on that site after posting the question.Any way as 'someone else' pointed continue is not supported in my version (10 g). Thanks a lot everyone for your time.
1 - 4

Post Details

Added on Apr 27 2017
9 comments
1,937 views