Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (579)
games submitted by our members
Games in WIP (500)
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  
  Problem with JOAL on webstart on Windows 7 x86 / 64bit  (Read 5172 times)
0 Members and 1 Guest are viewing this topic.
Offline Scarzzurs
« Posted 2010-09-30 23:10:38 »

A little bit of background
So... I finally after a couple of days of work got my JOAL audio system working.
I have been testing it multiple times from within my favorite text editor Textpad.
When i test it from within Textpad, i simply ask it to execute the command "cmd" with arguments "javaws TestLocalSigned.jnlp".
I then decided to test it from windows directly. This didn't work. I then started cmd manually and used the same command. Still no luck.

A bit of research showed (surprisingly) that my Textpad uses the jvm called:
1  
Java Web Start 1.6.0_21\nUsing JRE version 1.6.0_21-b07 Java HotSpot(TM) Client VM

Starting from windows gave the following info:
1  
Java Web Start 1.6.0_20\nUsing JRE version 1.6.0_20-b02 Java HotSpot(TM) 64-Bit Server VM

I am running this on the same machine using Window 7 64-bit version.

This would suggest that the problem is using JOAL with the 64-Bit Server VM.
In the jnlp i load JOAL using:
1  
<extension name="joal" href="http://download.java.net/media/joal/webstart/joal.jnlp" />


So my question is, how do i get JOAL work on a wider array of systems than those using Textpad and an older JVM? Tongue

Help... please  Huh

- Scarzzurs

My games and Projects:
BlastingPixels.com,
Old website
Offline Scarzzurs
« Reply #1 - Posted 2010-10-01 11:57:46 »

Right so,

It would appear that
  • There are no 64 bit libraries for JOAL
  • There is no way to force the javaws to use 32 bit version, on all systems (Windows in particular)

Sources
The -d32 jnlp jvm argument
The in-existence of 64 bit JOAL

If this information is right, it should perhaps be added to every possible JOAL FAQ as it makes JOAL useless for a lot of purposes.
I personally wouldn't suggest to use JOAL, if it can't run on 64 bit system (as more and more systems will become 64 bit in the future)

I was very sad to learn of this information as i will now have to go look for another alternative, something that might not even exist:
http://www.java-gaming.org/topics/please-help-me-find-the-best-audio-api-for-my-current-game/23014/msg/190808/view.html#new

Sorry for making another post, but I felt it might be appropriate as new information have been brought to the table.

- Scarzzurs

My games and Projects:
BlastingPixels.com,
Old website
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 70
Projects: 15


★★★★★


« Reply #2 - Posted 2010-10-01 12:01:58 »

I was very sad to learn of this information as i will now have to go look for another alternative, something that might not even exist

If you need you can have a look at LWJGL, it has a rock solid OpenAL binding that works on all the above mentioned architectures, its been well tested and is regularly updated.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gouessej

« In padded room »



TUER


« Reply #3 - Posted 2010-10-01 12:29:28 »

JOAL is no more on java.net:
http://github.com/mbien/joal

If you need 64 bits support for this API, speak about it to Mickael Bien on the jogamp forum:
http://jogamp.762907.n3.nabble.com/joal-f951297.html

There is a 64 bits support for Linux as far as I know. I don't know if it is easy to do the same for Windows. JOAL is not dead.

Offline Scarzzurs
« Reply #4 - Posted 2010-10-01 20:24:32 »

Right. So I decided to give LWJGL a go. After all I've been blindly ignoring any suggestions towards it for years (aight, 1 year of java game programming i guess).
I must say the transition was smoooth, well appart from a yet to be explained bug(?) in the openal library. :)

I still have some deployment issues I will have to look into, I may post about this later, but apart from that, I have sound on my window 7 64 system now! :D
This positive experience may just be the one thing that will make dare convert my opengl rendering to LWJGL as well :-)

@kapta:
Thanks for the suggestion. I finally gave it a shot, partly due to your suggestion here :-)
Btw. are you by any change the Kap1 I spoke with on #LWJGL today? Your names, arguments and attitude seem familiar...

@gouessej:
Thanks for the clarification and suggestion. :-)
It just seemed too much hassle in order to get audio, and besides LWJGL seemed to do the job.

- Scarzzurs

My games and Projects:
BlastingPixels.com,
Old website
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 70
Projects: 15


★★★★★


« Reply #5 - Posted 2010-10-01 20:33:53 »

@kapta:
Btw. are you by any change the Kap1 I spoke with on #LWJGL today? Your names, arguments and attitude seem familiar...
yes that was me, I usually go by the name kappaOne on irc. Also we've spoken a few times before, namely on gamejolt.

I must say the transition was smoooth, well appart from a yet to be explained bug(?) in the openal library. Smiley
Drop the issue on the LWJGL forums and i'm sure it'll get fixed/addressed pretty quickly. (forums also act as a sort of bug tracker).
Offline gouessej

« In padded room »



TUER


« Reply #6 - Posted 2011-08-29 12:24:27 »

Hi

Sorry to refresh this old thread. JOAL works fine on 64 architectures. You can use the Release Candidate 2:
http://jogamp.org/deployment/archive/rc/v2.0-rc2/joal.jnlp

Michael used JOAL with OpenALSoft on Linux 64 bits and it worked correctly. Of course, Windows 64 bits is supported too.

To sum up, JOAL is alive and maintained. Best regards.

Offline Scarzzurs
« Reply #7 - Posted 2011-08-29 14:03:51 »

Good to hear it's been brought up to date again. :-)
In my case it probably won't do much difference though, as I've come to prefer LWJGL.

- Scarzzurs

My games and Projects:
BlastingPixels.com,
Old website
Offline gouessej

« In padded room »



TUER


« Reply #8 - Posted 2011-08-29 14:30:59 »

In my case it probably won't do much difference though, as I've come to prefer LWJGL.
In my case, I start feeling ill at ease when I see that several threads in the JOAL section are used to promote its main competitor (LWJGL) but you asked for another alternative, kappa answered you, you should have done that in a more general section. Best regards.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (33 views)
2014-04-15 18:08:23

BurntPizza (30 views)
2014-04-15 03:46:01

UprightPath (45 views)
2014-04-14 17:39:50

UprightPath (28 views)
2014-04-14 17:35:47

Porlus (45 views)
2014-04-14 15:48:38

tom_mai78101 (66 views)
2014-04-10 04:04:31

BurntPizza (126 views)
2014-04-08 23:06:04

tom_mai78101 (226 views)
2014-04-05 13:34:39

trollwarrior1 (191 views)
2014-04-04 12:06:45

CJLetsGame (199 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org 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‑gaming.org
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!