Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (581)
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  
  getting started  (Read 3869 times)
0 Members and 1 Guest are viewing this topic.
Offline Diggi

Senior Newbie





« Posted 2006-02-12 12:11:30 »

Hi,
I'm new in OpenAL. I have installed the OpenAL SDK 1.1. The Demos are working properly,
but I do not know how to set the paths for OpenAL and Joal, that JBuilder can find them.
What do I have to do to make it working.
Thanks
der Diggi
Offline Diggi

Senior Newbie





« Reply #1 - Posted 2006-02-15 22:42:03 »

Hi,
I'm pretty serious about that.
Does anyone know where I can find instructions to set up joal and openal.
Actually everyone of you know how to do that. Why can't you give me an answer. I would really apriciate it.
Diggi
Offline Ken Russell

JGO Coder




Java games rock!


« Reply #2 - Posted 2006-02-16 02:28:56 »

I don't think anybody has experience with JBuilder specifically. You need to get joal.jar on your application classpath and the joal_native.dll / libjoal_native.so on to the path specified via -Djava.library.path.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Diggi

Senior Newbie





« Reply #3 - Posted 2006-02-16 22:43:45 »

Ok,
sure I can not expect everyone to work with JBuilder. But it would be good to know that stuff in generel. Are there any instructions for other Java Editors?
Offline Ken Russell

JGO Coder




Java games rock!


« Reply #4 - Posted 2006-02-16 23:21:16 »

I don't know about other editors but the post above shows you what you have to configure. You need to get the jar file onto your CLASSPATH and the DLL/.so file onto your java.library.path. You might want to try to get the demos working on the command line first to get a better understanding for what you need to set up in the IDE.
Offline Diggi

Senior Newbie





« Reply #5 - Posted 2006-02-17 22:06:59 »

Ok, thanks first,
I'm using windows xp. I got the following files:
joal.jar
joal_native.dll
SingleStaticSource.class
(All these files came from the lesson1 tutorial).
What do I have to write in the command line to execute the .class file properly?
Do I need additional files to run the file?
I installed the openal sdk 1.1. Do I have to do some settings for that? Lesson1 was supposed to run with 1.0. Is it working on 1.1 as well?
Thank you very much for taking the time
Diggi

ps: I was trying a couple of things, but I couldn't make it work
Offline Ken Russell

JGO Coder




Java games rock!


« Reply #6 - Posted 2006-02-18 02:19:24 »

In the current joal-demos.jar SingleStaticSource is in a sub-package so it's easier to start with that jar than the class file.
1  
java -classpath joal.jar;joal-demos.jar -Djava.library.path=. demos.devmaster.lesson1.SingleStaticSource


You need to look at javac's documentation and get a good feel for the -sourcepath, -classpath and -d options when compiling new code.

Everything is working fine with the OpenAL 1.1 SDK from http://openal.org/ . All of the new entry points are exposed in the current JOAL build.
Offline Diggi

Senior Newbie





« Reply #7 - Posted 2006-02-18 22:43:12 »

I tiped in what you told me to. When I hit the return button, it seems as it was doing nothing. But when I changed the name of the jar and the dll. It supported an exception in main thread. So it musst have been executed, but I couldn't see anything on the screen rather hear anything.
I think there musst be any generel openal settings, that need to be set. I only installed the openal sdk 1.1 and did nothing else with it. What do I have to do to make it work??

Thanks a lot for the help
Offline Diggi

Senior Newbie





« Reply #8 - Posted 2006-02-18 22:53:37 »

OK, ok, never mind. I reinstalled the sdk and no it is working.
So I think we can close this thread now.
Thanks again
Offline Mithel

Senior Newbie




Global Contribution, for the greater good of all.


« Reply #9 - Posted 2006-04-02 17:11:58 »

I have the start of my JOAL documentation at: http://www.starfireresearch.com/services/java/docs/joal.html (simple basics on getting up and running)
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 #10 - Posted 2006-04-02 22:48:04 »

Are you sure you're running the most recent JOAL release? The error messages and diagnostic printlns in your documentation look like you're using the pre-January 2006 version. The nightly builds on the JOAL home page should also work.
Offline Mithel

Senior Newbie




Global Contribution, for the greater good of all.


« Reply #11 - Posted 2006-04-03 16:52:31 »

Ken, the top section is for the new JOAL, that detailed section was written by a friend and is for the pre-January 2006 release.  I'll modify the page to make that more clear.
Offline Ken Russell

JGO Coder




Java games rock!


« Reply #12 - Posted 2006-04-04 05:26:04 »

The top section indicates there is a println "in alutInit(): Device Name = null". There is no such println in the current JOAL.
Offline Mithel

Senior Newbie




Global Contribution, for the greater good of all.


« Reply #13 - Posted 2006-04-04 17:17:13 »

Thanks Ken, I just tested and that does not apply any more.  I'll try and fix up my webpage this evening.
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 (53 views)
2014-04-15 18:08:23

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

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

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

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

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

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

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

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

CJLetsGame (210 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!