This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 70854 - java.lang error
Summary: java.lang error
Status: CLOSED WORKSFORME
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Martin Ryzl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-29 19:04 UTC by capngrrr
Modified: 2006-10-23 16:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description capngrrr 2005-12-29 19:04:24 UTC
Hello,

I have recebtly installed 'NetBeans IDE 4.1' and the mobility pack add-on in
order to complete University assignments.

I have created a project, complete with Midlets and Canvas, and all was going
well, until I clicked to 'build' my project to test it, it gave me back the
following error:

'Fatal Error: Unable to locate package java.lang in classpath or bootclasspath'

I have got it set up to point to the following library places:

-   'jar:ibinst:///modules/ext/j2meunit-1.1.1.jar!/'

and

-   'file:/C:/j2sdk1.4.2_09/src.zip'

If I check the error log it tells me:

'<javac encoding="${javac.encoding}" bootclasspath="${platform.bootclasspath}"
srcdir="${preprocessed.dir}" destdir="${build.classes.dir}"
debug="${javac.debug}" optimize="${javac.optimize}"
deprecation="${javac.deprecation}" target="${javac.target}"
source="${javac.source}" includeantruntime="false">'

I uninstalled and reinstalled 'NetBeans' and the J2SDK and the j2ME
programs/libraries and I still get the errors.


Any help you can give me to get NetBeans running fine and compiling would be a
great help!  Hope you can point me in the right direction!

Thanks for your time on this,

Chris Melhuish
Comment 1 Petr Suchomel 2005-12-29 19:32:02 UTC
Could you check if you have emulator SDK available under Tool | Java Platform
Manager? It looks you are missing any J2ME SDK right now, while at Sun WTK 2.2
should be installed.
Comment 2 Lukas Hasik 2006-01-04 13:59:16 UTC
it seems as duplicate of issue 68117 to me. Please look at the duplicate issue.

marking as INCOMPLETE for now. Need more informations from the user.
Comment 3 Lukas Hasik 2006-01-11 09:49:45 UTC
closing, we cannot donothing without additional informations.
thanks for your report

reopenwhen you provide required informations
Comment 4 Lukas Hasik 2006-01-17 13:57:29 UTC
verifying all old issues