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: 504
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: 504
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: 504
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: 504
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
  #7  
Old 05-19-2007, 11:48 AM
fishface fishface is offline
Junior Member
 
Join Date: May 2007
Posts: 8
Default

Update: repaired permissions, ran maintenance, rebooted and all is OK again.
Reply With Quote
  #8  
Old 05-22-2007, 01:32 PM
tim tim is offline
Administrator / Raven Developer
 
Join Date: Feb 2005
Posts: 504
Default

If users see problems like this running on a Mac, they should go to /Applications/Utilities/Console and copy the contents of that window to the help forum so we can take a look and see what's happening. In the post from fishface, it was not obvious from the message that this was a permission problem, but perhaps something in the console might shed some light.

On Windows, you need to run Raven from its own console (should be on the start menu in the Raven folder).

- Tim
Reply With Quote
  #9  
Old 05-22-2007, 07:22 PM
fishface fishface is offline
Junior Member
 
Join Date: May 2007
Posts: 8
Default

OK. Here you go.

Code:
May 19 15:36:04 MacBook-OSX /Applications/Raven Lite 1.0/Raven Lite 1.0.app/Contents/MacOS/JavaApplicationStub: An unexpected Java error has been detected by HotSpot Virtual Machine.
May 19 15:36:04 MacBook-OSX /Applications/Raven Lite 1.0/Raven Lite 1.0.app/Contents/MacOS/JavaApplicationStub: If this error is reproducible, please report it with the following information: 
May 19 15:36:04 MacBook-OSX /Applications/Raven Lite 1.0/Raven Lite 1.0.app/Contents/MacOS/JavaApplicationStub:   1. Provide the steps to reproduce, a test case, and any relevant information 
May 19 15:36:04 MacBook-OSX /Applications/Raven Lite 1.0/Raven Lite 1.0.app/Contents/MacOS/JavaApplicationStub:   2. The corresponding JavaNativeCrash_pid<num>.crash.log (Java state) 
May 19 15:36:04 MacBook-OSX /Applications/Raven Lite 1.0/Raven Lite 1.0.app/Contents/MacOS/JavaApplicationStub:   3. The corresponding <name>.crash.log (native state; generated by CrashReporter) 
May 19 15:36:04 MacBook-OSX /Applications/Raven Lite 1.0/Raven Lite 1.0.app/Contents/MacOS/JavaApplicationStub:   4. This data: 
May 19 15:36:04 MacBook-OSX /Applications/Raven Lite 1.0/Raven Lite 1.0.app/Contents/MacOS/JavaApplicationStub:        Java VM: Java HotSpot(TM) Client VM (1.5.0_07-87 mixed mode, sharing)
May 19 15:36:04 MacBook-OSX /Applications/Raven Lite 1.0/Raven Lite 1.0.app/Contents/MacOS/JavaApplicationStub:        Bus Error (0xa) at pc=0x9032a4cc
May 19 15:36:04 MacBook-OSX /Applications/Raven Lite 1.0/Raven Lite 1.0.app/Contents/MacOS/JavaApplicationStub:        Process ID: 5695, Current Thread: 25174016
May 19 15:36:04 MacBook-OSX /Applications/Raven Lite 1.0/Raven Lite 1.0.app/Contents/MacOS/JavaApplicationStub: File report at: http://bugreport.apple.com/
May 19 15:36:04 MacBook-OSX /Applications/Raven Lite 1.0/Raven Lite 1.0.app/Contents/MacOS/JavaApplicationStub: An error report file has been written to:
May 19 15:36:04 MacBook-OSX /Applications/Raven Lite 1.0/Raven Lite 1.0.app/Contents/MacOS/JavaApplicationStub:   /Users/[username]/Library/Logs/Java/JavaNativeCrash_pid5695.crash.log
May 19 15:36:07 MacBook-OSX crashdump[5696]: JavaApplicationStub crashed
May 19 15:36:08 MacBook-OSX crashdump[5696]: crash report written to: /Users/[username]/Library/Logs/CrashReporter/JavaApplicationStub.crash.log
JavaNativeCrash_pid5695.crash.log attached.

If you need to see the JavaApplicationStub.crash.log, let me know how I can post it to you. It's too big to attach as a txt file.
Attached Files
File Type: txt JavaNativeCrash_pid5695.txt (15.8 KB, 97 views)
Reply With Quote
  #10  
Old 05-23-2007, 12:31 PM
tim tim is offline
Administrator / Raven Developer
 
Join Date: Feb 2005
Posts: 504
Default

Please send the java application stub log file to raven@cornell.edu.

Correct me if I'm wrong, but I recall that this is during launch of Raven Lite 1.0 on an Intel Mac. Do you see anything during the launch process? Any splash screen? Any Raven window?

What model Intel Mac are you running?

- Tim
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 01:20 AM.


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