JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » Java 程式分享區 » Game  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友    訂閱主題
reply to topicthreaded modego to previous topicgo to next topic
本主題所含的標籤
作者 小品遊戲 - 五方塊魔術拼盤
huntan





發文: 24
積分: 0
於 2009-11-04 20:41 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
操作方式可以看遊戲menu菜單的Help->操作說明
純粹是小品遊戲

MagicalSquarePuzzle.jar (124.57k)


reply to postreply to post
作者 Re:小品遊戲 - 五方塊魔術拼盤 [Re:huntan]
KANANDG1





發文: 28
積分: 0
於 2009-11-05 13:59 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
唔....少了class的樣子
1
org/jdesktop/application/SingleFrameApplication


跑的時候我使用的是
1
java -jar MagicalSquarePuzzle.jar


它有exception
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdesktop/application/SingleFrameApplication
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Caused by: java.lang.ClassNotFoundException: org.jdesktop.application.SingleFrameApplication
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 12 more
Could not find the main class: magicalsquarepuzzle.MagicalSquarePuzzleApp. Program will exit.


reply to postreply to post
作者 Re:小品遊戲 - 五方塊魔術拼盤 [Re:KANANDG1]
huntan





發文: 24
積分: 0
於 2009-11-05 15:44 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
試試看把appframework-1.0.3.jar或swing-worker-1.1.jar這兩個ar檔加入至%JRE_HOME%\lib\ext下,並且把它們加入至環境變數CLASSPATH中。這兩個jar檔應該能夠在JDK或JRE裡面找到。

reply to postreply to post
作者 Re:小品遊戲 - 五方塊魔術拼盤 [Re:huntan]
KANANDG1





發文: 28
積分: 0
於 2009-11-05 19:05 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我的jdk1.6.0_16資料夾裡沒有這兩個檔案
它是另外下載的?


reply to postreply to post
作者 Re:小品遊戲 - 五方塊魔術拼盤 [Re:KANANDG1]
huntan





發文: 24
積分: 0
於 2009-11-05 23:09 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我裝的JRE是1.6.0_16版本的,%JRE_HOME%\lib\ext下就有這兩個jar檔。
程式是用Netbeans開發的,所以需要這兩個jar檔。
附檔包有程式還有那兩個jar檔,再參考看看吧。

MagicalSquarePuzzle.rar (146.06k)


reply to postreply to post
» JWorld@TW »  Java 程式分享區 » Game

reply to topicthreaded modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8