Raven Help Forum  

Go Back   Raven Help Forum > Raven Lite > Raven Lite Support
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-29-2006, 06:22 PM
jjjones3860 jjjones3860 is offline
Junior Member
 
Join Date: Oct 2006
Posts: 1
Exclamation Unable to Launch Java Application

After just now installing Raven Lite from your web site on a Windows XP (SP2) system, I get the following error when trying to start it:

Quote:
Unable to Launch Java Application

Unable to locate the application's 'main' class. The class 'clo.brp.raven.Application' must be public and have a 'public static void main(String[])' method. (LAX)
I saw another somewhat similar post in here regarding QuickTime. I have QuickTime V7.

I get the error after the splash screen appears.

In addition, if I click on the Details buttton, I get the following:

Code:
java.lang.ExceptionInInitializerError
	at clo.brp.util.bd.a(Unknown Source)
	at clo.brp.util.bd.a(Unknown Source)
	at clo.brp.util.bd.a(Unknown Source)
	at clo.brp.ui.at.a(Unknown Source)
	at clo.brp.util.bv.b(Unknown Source)
	at clo.brp.raven.Application.<clinit>(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at com.zerog.lax.LAX.launch(DashoA8113)
	at com.zerog.lax.LAX.main(DashoA8113)
Caused by: clo.brp.media.windows.WindowsAudioError: There is no driver installed on your system.
	at clo.brp.media.windows.WindowsAudioInputDevice.getCapabilities(Unknown Source)
	at clo.brp.media.windows.WindowsAudioInputDevice.<init>(Unknown Source)
	at clo.brp.media.windows.WindowsAudioSystem.createInputDevice(Unknown Source)
	at clo.brp.raven.config.plugin.k.<init>(Unknown Source)
	at clo.brp.raven.config.plugin.af.a(Unknown Source)
	at clo.brp.raven.ui.MainFrame.B(Unknown Source)
	at clo.brp.raven.ui.MainFrame.<init>(Unknown Source)
	at clo.brp.raven.ui.MainFrame.a(Unknown Source)
	at clo.brp.raven.ui.RegistrationDialog.<clinit>(Unknown Source)
	... 10 more
Jeff
Reply With Quote
  #2  
Old 11-02-2006, 12:08 AM
tim tim is offline
Administrator / Raven Developer
 
Join Date: Feb 2005
Posts: 519
Default

Jeff,

In C:\Program Files\Raven Lite 1.0 folder, do you have a WindowsAudio.dll file? Also, do you have a sound card in your computer? Raven Lite is stating that you don't have any audio input device installed, which would include a port for a microphone. You could also try creating a file called RavenPreferences.txt in the above folder, and putting this line inside it.

raven.audioInput.native=false

This will cause Raven Lite to use a different mechanism for audio input. Please try this and let me know if you can get any further in launching Raven Lite.

- Tim
Reply With Quote
  #3  
Old 11-16-2006, 08:21 AM
tim tim is offline
Administrator / Raven Developer
 
Join Date: Feb 2005
Posts: 519
Default

Jeff,

I looked into this some more. If you are missing the WindowsAudio.dll file, you will get the error below so I take this to mean that you have this file and that the problem is another one.

Exception in thread "main" java.lang.UnsatisfiedLinkError: no WindowsAudio in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at clo.brp.media.windows.WindowsAudioSystem.<clinit>( SourceFile:38)
at clo.brp.raven.config.plugin.af.a(SourceFile:155)
at clo.brp.raven.ui.MainFrame.C(SourceFile:3816)
at clo.brp.raven.ui.MainFrame.<init>(SourceFile:1262)
at clo.brp.raven.ui.MainFrame.a(SourceFile:1129)
at clo.brp.raven.ui.RegistrationDialog.<clinit>(Sourc eFile:65)
at clo.brp.util.bd.a(SourceFile:595)
at clo.brp.util.bd.a(SourceFile:510)
at clo.brp.util.bd.a(SourceFile:427)
at clo.brp.ui.au.a(SourceFile:126)
at clo.brp.util.bv.b(SourceFile:273)
at clo.brp.raven.Application.<clinit>(SourceFile:1378 )

So what about your sound system? Are you able to play sounds with other media players like Windows Media Player and Quicktime Player?

- Tim
Reply With Quote
  #4  
Old 11-16-2006, 09:54 AM
tim tim is offline
Administrator / Raven Developer
 
Join Date: Feb 2005
Posts: 519
Default

Jeff,

You might try downloading Raven Lite again. This week, I posted an updated version to the site. This version was available on 9/21 via automatic update but has not been available in an installer until now. Please write back to let me know the results. Your original post was very complete in that you provided very good information (including the traceback information). Thanks.

- Tim
Reply With Quote
  #5  
Old 11-27-2006, 09:58 AM
tim tim is offline
Administrator / Raven Developer
 
Join Date: Feb 2005
Posts: 519
Default

I think this is a problem with the sound system on the computer. I think it all comes down to this:

Caused by: clo.brp.media.windows.WindowsAudioError: There is no driver installed on your system.

Raven Lite is using a Windows system driver to find a recording device. There is no device available. You could try setting the followin preference in the file RavenPreferences.txt in the Raven Lite folder. Most users will have to create this file. This will cause Raven to use a Java resource for recording, which might allow you to run without throwing the error that the Windows code did.

raven.audioInput.native=false

- Tim

Last edited by tim : 11-27-2006 at 10:02 AM.
Reply With Quote
  #6  
Old 05-19-2007, 11:02 AM
fishface fishface is offline
Junior Member
 
Join Date: May 2007
Posts: 8
Default

I have just got a 'Cannot launch Java application' too, though the problem is different. I'm running Raven Lite 1.0 under OS X on an Intel Mac.

Yesterday I went through 'Crashes when trying to record' and created a RavenPreferences.txt file to handle the OS X bug relating to the internal mike, briefly opened Raven, checked it no longer crashed when recording (it didn't), stopped recording and closed it again. (I was in the middle of something else so didn't have time to explore further at that point.) Today the program won't open at all. After asking firewall permission to access the net, and having this OKed, the program hangs.

After attempting to open it a few times without success, I reinstalled from my local copy of the downloaded installation file. Now I get the following error message before the program gets beyond the title window:

Code:
Cannot launch Java application

A static initializer of the main class threw an exception: java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Error (10000) creating CGSWindow)
I haven't changed any system settings or installed any software since running it successfully yesterday.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 05:42 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.