🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.linux
6 messages
6 total messages Started by Michael Conners Tue, 14 Jun 2005 14:51
JBuilder9 - "Fatal Error: Unable to find package java.lang"
#82
Author: Michael Conners
Date: Tue, 14 Jun 2005 14:51
10 lines
1139 bytes
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?

Thanks.
Re: JBuilder9 - "Fatal Error: Unable to find package java.lang"
#83
Author: Lori M Olson [TeamB]
Date: Tue, 14 Jun 2005 15:30
36 lines
2077 bytes
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?
> 
> Thanks.

That means that your JDK configuration is scrambled.  Tools | Configure 
JDK's.  You should create a new JDK configuration and then adjust your 
project so that it is using your new JDK.

After you are sure that is working, you can go and delete the old, 
non-working JDK configuration.

-- 

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
Re: JBuilder9 - "Fatal Error: Unable to find package java.lang"
#84
Author: Michael Conners
Date: Tue, 14 Jun 2005 17:54
43 lines
2160 bytes
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?
>> 
>> Thanks.
>
>That means that your JDK configuration is scrambled.  Tools | Configure 
>JDK's.  You should create a new JDK configuration and then adjust your 
>project so that it is using your new JDK.
>
>After you are sure that is working, you can go and delete the old, 
>non-working JDK configuration.
>
>-- 
>
>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
Re: JBuilder9 - "Fatal Error: Unable to find package java.lang"
#85
Author: Lori M Olson [TeamB]
Date: Tue, 14 Jun 2005 20:03
39 lines
2086 bytes
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
Re: JBuilder9 - "Fatal Error: Unable to find package java.lang"
#86
Author: Michael Conners
Date: Wed, 15 Jun 2005 13:02
74 lines
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
Re: JBuilder9 - "Fatal Error: Unable to find package java.lang"
#87
Author: Lori M Olson [TeamB]
Date: Wed, 15 Jun 2005 16:43
36 lines
2370 bytes
Michael Conners wrote:
> 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

It looks like you are going to need another version of JDK 1.4.1, 
because this error message indicates some sort of fundamental problem 
with the JDK you are trying to use.  If you absolutely have to change 
the JDK that JBuilder runs on, then you should always stick to the same 
JDK version if you want it to work.

-- 

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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads