tag:blogger.com,1999:blog-1686626258881199570.post1473407558119455403..comments2023-07-22T07:25:06.288-07:00Comments on PSNB Tech Blog: Tutorial [Java]: Asteroids GameAnonymoushttp://www.blogger.com/profile/05102772680697495720noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-1686626258881199570.post-20912593104952503382015-09-28T08:58:54.637-07:002015-09-28T08:58:54.637-07:00I have a simple question: I wanted to get started ...I have a simple question: I wanted to get started with java by downloading Asteroids, a game that I played in my youth (a long time ago). I am using netbeans under Fedora21 and have successfully compiled the program. However it will not run because netbeans can not find any main classes. I checked by running the program from the command line and I get the same type of error. Evidently there is something very basic about this that I am missing. Please give a suggestion. Thank You<br />Tom<br />Anonymoushttps://www.blogger.com/profile/06153504274778530983noreply@blogger.comtag:blogger.com,1999:blog-1686626258881199570.post-61222301400604396832015-06-08T07:27:40.791-07:002015-06-08T07:27:40.791-07:00when i used the fix setup all the errors disapired...when i used the fix setup all the errors disapired but still doesnt workivanhttps://www.blogger.com/profile/02559853138958076651noreply@blogger.comtag:blogger.com,1999:blog-1686626258881199570.post-27325796480798027922015-06-08T07:26:44.375-07:002015-06-08T07:26:44.375-07:00when i used the fix setup all the errors disapired...when i used the fix setup all the errors disapired but still doesnt workivanhttps://www.blogger.com/profile/02559853138958076651noreply@blogger.comtag:blogger.com,1999:blog-1686626258881199570.post-1657122804679249882015-06-08T07:20:45.865-07:002015-06-08T07:20:45.865-07:00its equal to your coding
i changed the .classpath ...its equal to your coding<br />i changed the .classpath and .proyect mine to yours<br />and showed that asteriods has lots of errorsivanhttps://www.blogger.com/profile/02559853138958076651noreply@blogger.comtag:blogger.com,1999:blog-1686626258881199570.post-40240792174586667772015-06-08T06:39:47.942-07:002015-06-08T06:39:47.942-07:00inside of asteriods.class
AsteriodSize spawnSize =...inside of asteriods.class<br />AsteriodSize spawnSize = AsteriodSize.values()[size.ordinal() - 1];<br />showed me a breakpiont<br />i think dat's allivanhttps://www.blogger.com/profile/02559853138958076651noreply@blogger.comtag:blogger.com,1999:blog-1686626258881199570.post-6354982307885956322015-06-08T06:36:14.075-07:002015-06-08T06:36:14.075-07:00inside of asteriods.class
AsteriodSize spawnSize =...inside of asteriods.class<br />AsteriodSize spawnSize = AsteriodSize.values()[size.ordinal() - 1];<br />showed me a breakpiont<br />i think dat's allivanhttps://www.blogger.com/profile/02559853138958076651noreply@blogger.comtag:blogger.com,1999:blog-1686626258881199570.post-53551481573807526382015-06-08T06:25:57.481-07:002015-06-08T06:25:57.481-07:00this is what sipted to me
java.lang.UnsupportedCla...this is what sipted to me<br />java.lang.UnsupportedClassVersionError: org/Game : Unsupported major.minor version 51.0<br /> at java.lang.ClassLoader.defineClass1(Native Method)<br /> at java.lang.ClassLoader.defineClassCond(Unknown Source)<br /> at java.lang.ClassLoader.defineClass(Unknown Source)<br /> at java.security.SecureClassLoader.defineClass(Unknown Source)<br /> at java.net.URLClassLoader.defineClass(Unknown Source)<br /> at java.net.URLClassLoader.access$000(Unknown Source)<br /> at java.net.URLClassLoader$1.run(Unknown Source)<br /> at java.security.AccessController.doPrivileged(Native Method)<br /> at java.net.URLClassLoader.findClass(Unknown Source)<br /> at java.lang.ClassLoader.loadClass(Unknown Source)<br /> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)<br /> at java.lang.ClassLoader.loadClass(Unknown Source)<br />Exception in thread "main" ivanhttps://www.blogger.com/profile/02559853138958076651noreply@blogger.comtag:blogger.com,1999:blog-1686626258881199570.post-91537643655561887792014-11-19T15:41:12.488-08:002014-11-19T15:41:12.488-08:00Really interesting, thanks so much!Really interesting, thanks so much!GamesBloghttp://gamesblog.eccocome.it/noreply@blogger.comtag:blogger.com,1999:blog-1686626258881199570.post-53288395630296546482014-11-08T20:17:43.680-08:002014-11-08T20:17:43.680-08:00How did you make the ship to appear?How did you make the ship to appear?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1686626258881199570.post-30840319123848616952013-10-17T14:14:14.946-07:002013-10-17T14:14:14.946-07:00Simply awesome.Simply awesome.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1686626258881199570.post-63782316070050514832013-10-15T20:40:16.256-07:002013-10-15T20:40:16.256-07:00Could you explain what is wrong? I just checked an...Could you explain what is wrong? I just checked and everything works fine (though I did find and fix a small bug with the rendering.Anonymoushttps://www.blogger.com/profile/05102772680697495720noreply@blogger.comtag:blogger.com,1999:blog-1686626258881199570.post-34035390703484695412013-10-01T06:27:13.878-07:002013-10-01T06:27:13.878-07:00its not working
its not working<br />Anonymoushttps://www.blogger.com/profile/05892123053375082523noreply@blogger.com