Article View: borland.public.jbuilder.linux
Article #86Re: JBuilder9 - "Fatal Error: Unable to find package java.lang"
From: Michael Conners
Date: Wed, 15 Jun 2005 13:02
Date: Wed, 15 Jun 2005 13:02
74 lines
3758 bytes
3758 bytes
j2sdk1.4.2_08
The jdk (1.4.1_02-b06) that ships with JB9 stopped working after some sort of fedora update, so I tried the 1.4.2 jdk and it worked except for the java.lang error.
The error I get with the 1.4.1_02-b06 jdk is:
OpenTools discovered (419ms)
--- Initializing OpenTools-Core
OpenTool com.borland.jbuilder.build.BuildCommand (211+2ms)
*** OpenTool com.borland.jbuilder.JBuilderCore failed to initialize
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.borland.primetime.PrimeTime.b(Unknown Source)
at com.borland.primetime.PrimeTime.initializeOpenTools(Unknown Source)
at com.borland.primetime.PrimeTime.initializeOpenTools(Unknown Source)
at com.borland.primetime.PrimeTime.start(Unknown Source)
at com.borland.jbuilder.JBuilder.main(Unknown Source)
Caused by: java.lang.NoClassDefFoundError
at java.awt.Component.<clinit>(Component.java:507)
at com.borland.primetime.util.Images.<clinit>(Unknown Source)
at com.borland.jbuilder.info.JBuilderInfo.<clinit>(Unknown Source)
at com.borland.jbuilder.JBuilderCore.initOpenTool(Unknown Source)
... 9 more
OpenTool com.borland.jbuilder.java.JavacValidator (2+7ms)
OpenTool com.borland.jbuilder.obfuscator.micro.ObfuscatorPathSetFactory (17+9ms)
--- OpenTools-Core initialized (307ms total)
If I could fix either jdk, I'd be happy.
"Lori M Olson [TeamB]" <javadragon@techie.com> wrote:
>Michael Conners wrote:
>> Thanks for the response.
>>
>> I did as you suggest but I am still seeing the same error.
>>
>>
>> "Lori M Olson [TeamB]" <javadragon@techie.com> wrote:
>>
>>>Michael Conners wrote:
>>>
>>>>Using JB9 on Fedora Core 3.
>>>>
>>>>I was using the default jdk in jdk.config but it had some startup issues and I am using another jdk.
>>>>
>>>>Now I get the "Unable to locate package" error in my class view window in the Errors folder.
>>>>
>>>>Ideas?
>
>Exactly what version of the JDK are you trying to configure?
>
>
>--
>
>Regards,
>
>Lori Olson [TeamB]
>
>------------
>
>Save yourself, and everyone else, some time and search the
>newsgroups and the FAQ-O-Matic before posting your next
>question.
>
>Google Advanced Newsgroup Search
> http://www.google.ca/advanced_group_search
>Other Newsgroup Searches:
> http://www.borland.com/newsgroups/ngsearch.html
>Joi Ellis's FAQ-O-Matic:
> http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID:
<42b026d4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42aeeeda$1@newsgroups.borland.com> <42aef7fe@newsgroups.borland.com> <42af19bd$1@newsgroups.borland.com> <42af37fc$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 107590,af46585e51251b44 X-Google-Attributes: gid107590,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Michael Conners" <mike.conners@gmail.com> Sender: "Michael Conners" <mike.conners@gmail.com> Reply-To: "Michael Conners" <mike.conners@gmail.com> Subject: Re: JBuilder9 - "Fatal Error: Unable to find package java.lang" Newsgroups: borland.public.jbuilder.linux X-User-Info: 209.95.240.214 References: <42aeeeda$1@newsgroups.borland.com> <42aef7fe@newsgroups.borland.com> <42af19bd$1@newsgroups.borland.com> <42af37fc$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <42b026d4$1@newsgroups.borland.com> Date: 15 Jun 2005 06:02:12 -0700 X-Trace: newsgroups.borland.com 1118840532 207.105.83.66 (15 Jun 2005 06:02:12 -0700) Lines: 75 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail