Search the web
Sign In
New User? Sign Up
pcgen · PCGen News and Notes
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Having problems with PCGen and Java   Message List  
Reply | Forward Message #98626 of 101084 |
Re: [pcgen] Having problems with PCGen and Java

Looks like you are still using the open java version not the sun version...

As for the classpath, "echo $CLASSPATH" in a terminal session should
do the trick.

Cheers,
James.

2008/11/21 Jim Milne <duroondgr@...>:
> java version "1.5.0"
> gij (GNU libgcj) version 4.3.2
>
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
>
> but you'll have to tell me how to look at the classpath environment variable
>
>
>
> ----- Original Message -----
> From: "James Dempsey" <jdempsey@...>
> To: pcgen@yahoogroups.com
> Sent: Thursday, November 20, 2008 3:39:32 PM GMT -08:00 US/Canada Pacific
> Subject: Re: [pcgen] Having problems with PCGen and Java
>
>
>
>
>
>
> Hi,
>
> Could you provide the output of a java -version please? Also could you
> check the classpath environment variable too please?
>
> The error looks like you might have ended up using libraries from Java 1.4.
>
> --
> Cheers,
> James Dempsey
> PCGen Code SB
>
> 2008/11/21 duroondgr < duroondgr@... >:
>> Everything was working just great actually. Then I installed some
>> software which installed Open-Java (I am running a ubuntu 8.10 laptop)
>> I immediately un-installed open-java and reinstalled sun-java because
>> the old problem of the sources not populating in the drop down menu
>> cropped right up. Now PCGen won't even start. Here is the error
>> message I am getting.
>>
>> WARNING: bad level 'LSTWARN'
>> java.lang.IllegalArgumentException: Not the name of a standard logging
>> level: "LSTWARN"
>> at java.util.logging.Level.parse(libgcj.so.90)
>> at java.util.logging.LogManager.readConfiguration(libgcj.so.90)
>> at java.util.logging.LogManager.readConfiguration(libgcj.so.90)
>> at java.util.logging.LogManager.initLogManager(libgcj.so.90)
>> at java.util.logging.LogManager.getLogManager(libgcj.so.90)
>> at pcgen.util.Logging.<clinit>(Logging.java:99)
>> at java.lang.Class.initializeClass(libgcj.so.90)
>> at pcgen.core.Main.dieWithBadEntryPoint(Main.java:102)
>> at pcgen.core.Main.main(Main.java:95)
>> WARNING: bad level 'LSTWARN'
>> java.lang.IllegalArgumentException: Not the name of a standard logging
>> level: "LSTWARN"
>> at java.util.logging.Level.parse(libgcj.so.90)
>> at java.util.logging.LogManager.readConfiguration(libgcj.so.90)
>> at java.util.logging.LogManager.readConfiguration(libgcj.so.90)
>> at java.util.logging.LogManager.initLogManager(libgcj.so.90)
>> at java.util.logging.LogManager.getLogManager(libgcj.so.90)
>> at pcgen.util.Logging.<clinit>(Logging.java:99)
>> at java.lang.Class.initializeClass(libgcj.so.90)
>> at pcgen.core.Main.dieWithBadEntryPoint(Main.java:102)
>> at pcgen.core.Main.main(Main.java:95)
>> WARNING: bad level 'LSTWARN'
>> java.lang.IllegalArgumentException: Not the name of a standard logging
>> level: "LSTWARN"
>> at java.util.logging.Level.parse(libgcj.so.90)
>> at java.util.logging.LogManager.readConfiguration(libgcj.so.90)
>> at java.util.logging.LogManager.readConfiguration(libgcj.so.90)
>> at pcgen.util.Logging.<clinit>(Logging.java:99)
>> at java.lang.Class.initializeClass(libgcj.so.90)
>> at pcgen.core.Main.dieWithBadEntryPoint(Main.java:102)
>> at pcgen.core.Main.main(Main.java:95)
>> WARNING: bad level 'LSTWARN'
>> java.lang.IllegalArgumentException: Not the name of a standard logging
>> level: "LSTWARN"
>> at java.util.logging.Level.parse(libgcj.so.90)
>> at java.util.logging.LogManager.readConfiguration(libgcj.so.90)
>> at java.util.logging.LogManager.readConfiguration(libgcj.so.90)
>> at pcgen.util.Logging.<clinit>(Logging.java:99)
>> at java.lang.Class.initializeClass(libgcj.so.90)
>> at pcgen.core.Main.dieWithBadEntryPoint(Main.java:102)
>> at pcgen.core.Main.main(Main.java:95)
>> 14:57:28.560 SEVERE main Main:102 Bad main entry point in
>> pcgen.gui.pcGenGUI
>> java.lang.reflect.InvocationTargetException
>> at java.lang.reflect.Method.invoke(libgcj.so.90)
>> at pcgen.core.Main.main(Main.java:77)
>> Caused by: java.lang.NoSuchMethodError: method
>> java.util.regex.Pattern.quote with signature
>> (Ljava.lang.String;)Ljava.lang.String; was not found.
>> at pcgen.core.utils.CoreUtility.split(CoreUtility.java:490)
>> at
>>
pcgen.core.SettingsHandler.getOptionsFromProperties(SettingsHandler.java:1114)
>> at pcgen.gui.pcGenGUI.main(pcGenGUI.java:451)
>> at java.lang.reflect.Method.invoke(libgcj.so.90)
>> ...1 more
>>
>>
>>
>> Any help would be greatly appreciated, none of my other java
>> applications are having a problem. I use RPTools inittool and
>> charactertool as well as pcgen.



Fri Nov 21, 2008 12:20 am

james_dempse...
Offline Offline
Send Email Send Email

Forward
Message #98626 of 101084 |
Expand Messages Author Sort by Date

Everything was working just great actually. Then I installed some software which installed Open-Java (I am running a ubuntu 8.10 laptop) I immediately...
duroondgr
Online Now Send Email
Nov 20, 2008
11:04 pm

Hi, Could you provide the output of a java -version please? Also could you check the classpath environment variable too please? The error looks like you might...
James Dempsey
james_dempse...
Offline Send Email
Nov 20, 2008
11:39 pm

java version "1.5.0" gij (GNU libgcj) version 4.3.2 Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying...
Jim Milne
duroondgr
Online Now Send Email
Nov 21, 2008
12:10 am

Looks like you are still using the open java version not the sun version... As for the classpath, "echo $CLASSPATH" in a terminal session should do the trick. ...
James Dempsey
james_dempse...
Offline Send Email
Nov 21, 2008
12:20 am

I managed to fix the problem, I just un installed everything I could java related and then re installed the sun java 6 jre, everything works fine again. ... ...
duroondgr
Online Now Send Email
Nov 21, 2008
12:27 am

Yay - great to hear. Thanks for the update. Cheers, James....
James Dempsey
james_dempse...
Offline Send Email
Nov 21, 2008
12:30 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help