Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (601)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (649)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  JOAL and Java Web Start  (Read 3426 times)
0 Members and 1 Guest are viewing this topic.
Offline Ken Russell

JGO Coder

Java games rock!

« Posted 2006-08-31 02:17:35 »

Support for deploying JOAL via Java Web Start is finally in place. I apologize for how long this has taken but we ran into several technical issues involving not only bug fixes to the OpenAL source tree but also to JOAL's and GlueGen's implementations. The good news is that we now have the ability to deploy the latest OpenAL versions on all supported platforms (meaning that OpenAL does not have to be installed ahead of time) and that maintenance will be much easier going forward.

The summary is that all you have to do to include JOAL support in your Java Web Started application is to add this line to your resources section:
<extension name="joal" href="" />

The joal.jnlp file indicates what native libraries, etc. have to be downloaded and installed. There is magic behind the scenes to load up the OpenAL implementation out of the native library jars. Thanks to the LWJGL team for providing open-source code which illustrated some of how to do this. The mechanism we have incorporated is pretty general and will eventually replace some duplicated Java and C code in JOGL as well.

The DevMaster lessons on the joal-demos page have been updated with Java Web Start launch links. Please give them a try and let us know if you run in to any problems with them. We will provide more permanent documentation than just this post in the JOAL workspace in the near future.
Offline shawnkendall

Senior Devvie

« Reply #1 - Posted 2006-08-31 18:31:35 »

My team will be glad to hear.
Thanks much.

demos ran fine on PC/XP

Shawn Kendall
Cosmic Interactive, LLC
Offline dranonymous

Junior Devvie

Hoping to become a Java Titan someday!

« Reply #2 - Posted 2006-09-02 03:26:55 »

When I tried to run the first JOAL JWS demo, I got silence.  Sad  I'm using the following -

Mac OSX 10.4.7

Here's a dump of the exception log from JWS -

Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Can not get proc address for method "alcCaptureCloseDevice": Couldn't set value of field "_addressof_alcCaptureCloseDevice" in class
   at com.sun.gluegen.runtime.ProcAddressHelper.resetProcAddressTable(
   at demos.devmaster.lesson1.SingleStaticSource.initialize(
   at demos.devmaster.lesson1.SingleStaticSource$1.actionPerformed(
   at javax.swing.AbstractButton.fireActionPerformed(
   at javax.swing.AbstractButton$Handler.actionPerformed(
   at javax.swing.DefaultButtonModel.fireActionPerformed(
   at javax.swing.DefaultButtonModel.setPressed(
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
   at java.awt.Component.processMouseEvent(
   at javax.swing.JComponent.processMouseEvent(
   at java.awt.Component.processEvent(
   at java.awt.Container.processEvent(
   at java.awt.Component.dispatchEventImpl(
   at java.awt.Container.dispatchEventImpl(
   at java.awt.Component.dispatchEvent(
   at java.awt.LightweightDispatcher.retargetMouseEvent(
   at java.awt.LightweightDispatcher.processMouseEvent(
   at java.awt.LightweightDispatcher.dispatchEvent(
   at java.awt.Container.dispatchEventImpl(
   at java.awt.Window.dispatchEventImpl(
   at java.awt.Component.dispatchEvent(
   at java.awt.EventQueue.dispatchEvent(
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(
   at java.awt.EventDispatchThread.pumpEvents(
   at java.awt.EventDispatchThread.pumpEvents(
Caused by: java.lang.RuntimeException: Unable to find and load OpenAL library
   at com.sun.gluegen.runtime.ProcAddressHelper.resetProcAddressTable(
   ... 29 more

Dr. A>
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Ken Russell

JGO Coder

Java games rock!

« Reply #3 - Posted 2006-09-03 07:09:27 »

Sorry about that. I broke JOAL's Mac OS X support late in the process and forgot to re-test it before release. Tomorrow's nightly build will work on OS X again, and I'll update the Java Web Start and downloadable binaries soon afterward. You can also check out the gluegen and joal source trees via CVS and build them yourself (not difficult).
Offline Ken Russell

JGO Coder

Java games rock!

« Reply #4 - Posted 2006-09-03 20:56:58 »

The Java Web Start binaries should be working on OS X again. Please post if you see more problems. A new beta, 1.1b03, will be posted probably tomorrow containing the associated fixes to JOAL and GlueGen.
Offline dranonymous

Junior Devvie

Hoping to become a Java Titan someday!

« Reply #5 - Posted 2006-09-03 21:33:41 »

I tried the demos using JWS from the joal site.  They worked great!  I'll check the new release out and report back if there are any issues.


Dr. A>
Offline Ken Russell

JGO Coder

Java games rock!

« Reply #6 - Posted 2006-09-05 22:06:15 »

JOAL 1.1b03 has been released. Please give it a try and post if you see any issues with it.
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Riven (32 views)
2015-07-27 16:38:00

Riven (16 views)
2015-07-27 15:35:20

Riven (20 views)
2015-07-27 12:26:13

Riven (10 views)
2015-07-27 12:23:39

BurntPizza (27 views)
2015-07-25 00:14:37

BurntPizza (39 views)
2015-07-24 22:06:39

BurntPizza (22 views)
2015-07-24 06:06:53

NoxInc (25 views)
2015-07-22 22:16:53

NoxInc (17 views)
2015-07-22 22:13:39

Jesse (40 views)
2015-07-22 03:10:36
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!