Minimize Ja.NET Forums
 
  Ja.NET Forums  Ja.NET SE  Using  'Type Initializer' Exception
Previous Previous
 
Next Next
New Post 8/27/2010 11:29 AM
Unresolved
  CivilGuy
1 posts
No Ranking


'Type Initializer' Exception 

I've got the JaNetSE jddk installed (latest version), and I've compiled a java code project I've got in process, no apparent real problems (several warnings, but no errors - and no surprises, given the work-in-progress), but then:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>d:

D:\>cd javaprojects

D:\JavaProjects>set JAVA_HOME=C:\Program Files\JaNetSE\jdk

D:\JavaProjects>set PATH=C:\Program Files\JaNetSE\jdk\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

D:\JavaProjects>cd netbin

D:\JavaProjects\netbin>java com.civilguy.lbquants.DlgMain
java.lang.ExceptionInInitializerError: The type initializer for 'org.apache.harmony.awt.nativebridge.NativeBridge' threw an
exception.
at org.apache.harmony.awt.nativebridge.windows.Win32..ctor(Unknown Source)
at org.apache.harmony.awt.nativebridge.windows.Win32.getInstance(Unknown Source)
at org.apache.harmony.awt.datatransfer.windows.WinDTK..cctor(Unknown Source)
at java.lang.ThreadGroup.uncaughtException(Unknown Source)
at java.lang.ThreadGroup.uncaughtException(Unknown Source)
at java.lang.Thread.detach(Unknown Source)

D:\JavaProjects\netbin>

FWIW, I've also checked and confirmed that .NET version 3.5 sp1 is installed. Any ideas as to what's wrong here? Anything else I should check for?

 
Previous Previous
 
Next Next
  Ja.NET Forums  Ja.NET SE  Using  'Type Initializer' Exception
Syndicate  
Minimize Ja.NET SE Survey

What open source Java implementation should Ja.NET SE be based on?






Submit Survey 
Minimize Provide Feedback

 





Enter the code shown above in the box below
Send