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 49802 - J2ME projects don't compile in beta 2 but can in netbeans-4_0-qbuild-bin-200409100847-windows-10_Sep_2004_0847
Summary: J2ME projects don't compile in beta 2 but can in netbeans-4_0-qbuild-bin-2004...
Status: CLOSED WORKSFORME
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-01 15:22 UTC by ieising
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 ieising 2004-10-01 15:22:48 UTC
In the Q-build netbeans-4_0-qbuild-bin-
200409100847-windows-10_Sep_2004_0847 I can work 
and compile my HelloWorld application which is a 
J2ME application. Using the beta 2 this is no 
longer possible. The ANT-output is below.

I tried using the beta 2 mobility pack in 
NB40beta2 as well as the one I use for the Q-
build (NetBeansMobility-040910_1-win) but same 
result with both.

This goes for the situation before installing 
JDK 1.5 and using JDK 1.4.2_5 as well as 
installing beta 2 after installing JDK 1.5 and 
choosing this as the JDK to be used.

-=-=-=-=-=-=-=-==-= ANT OUTPUT -=-=-=-=-=-=-=

pre-init:
pre-load-properties:
exists.netbeans.user:
exists.user.properties.file:
load-properties:
Copying 1 file to C:\DOCUME~1\Iwan\LOCALS~1\Temp
Copying 1 file to C:\DOCUME~1\Iwan\LOCALS~1\Temp
Deleting: C:\DOCUME~1\Iwan\LOCALS~1
\Temp\null1888121141
exists.platform.configuration:
exists.platform.profile:
init:
post-init:
pre-clean:
clean:
Deleting directory 
C:\Iwan\SofTech\projects\HelloWorld\build\preproc
essed
Deleting directory 
C:\Iwan\SofTech\projects\HelloWorld\build\compile
d
Deleting: 
C:\Iwan\SofTech\projects\HelloWorld\build\before-
obfuscation.jar
Deleting: 
C:\Iwan\SofTech\projects\HelloWorld\build\obfusca
ted.jar
Deleting directory 
C:\Iwan\SofTech\projects\HelloWorld\build\obfusca
ted
Deleting directory 
C:\Iwan\SofTech\projects\HelloWorld\build\preveri
fied
Deleting: 
C:\Iwan\SofTech\projects\HelloWorld\dist\Shopping
ME.jar
Deleting: 
C:\Iwan\SofTech\projects\HelloWorld\dist\Shopping
ME.jad
post-clean:
pre-init:
pre-load-properties:
exists.netbeans.user:
exists.user.properties.file:
load-properties:
Copying 1 file to C:\DOCUME~1\Iwan\LOCALS~1\Temp
Copying 1 file to C:\DOCUME~1\Iwan\LOCALS~1\Temp
Deleting: C:\DOCUME~1\Iwan\LOCALS~1
\Temp\null1888121141
exists.platform.configuration:
exists.platform.profile:
init:
post-init:
pre-preprocess:
deps-jar:
conditional-clean:
preprocess:
Created dir: 
C:\Iwan\SofTech\projects\HelloWorld\build\preproc
essed
Preprocessing 6 file(s) into 
C:\Iwan\SofTech\projects\HelloWorld\build\preproc
essed directory.
post-preprocess:
extract-libs:
Created dir: 
C:\Iwan\SofTech\projects\HelloWorld\build\compile
d
pre-compile:
compile:
Compiling 6 source files to 
C:\Iwan\SofTech\projects\HelloWorld\build\compile
d
Fatal Error: Unable to find package java.lang in 
classpath or bootclasspath
C:\Iwan\SofTech\projects\HelloWorld\nbproject\bui
ld-impl.xml:132: Compile failed; see the 
compiler error output for details.
BUILD FAILED (total time: 3 seconds)
Comment 1 ieising 2004-10-01 15:42:19 UTC
After copying the <userdir>/.netbeans/dev into 
<userdir>/.netbeans/4.0beta2 it seems to work.
Comment 2 ieising 2004-10-01 15:56:51 UTC
After re-installing NetBeansMobility-4_0-beta2-win it all still 
works. So I guess that something gets messed up during the 
installation of beta 2 compared to the A-buidl.
Comment 3 Adam Sotona 2004-10-13 13:00:25 UTC
This error message is shown where there are no or wrong bootstrap
libraries.
This can happen by broken link to some 3-rd party platform (look at
Java Platform Manager), wrong installation of Wireless Toolkit, wrong
path to the Toolkit bootstrap libraries, some manual move of the
Toolkit, or wrong content of build.properties in <userdir> after some
manual move or changes.
The fact is that Toolkit in installed locally in <userdir> for each
user and referenced from <userdir>/build.properties. If you install
some other Emulator Platform into the IDE this is also stored in
<userdir>/build.properties.
Q-build and beta build use different userdirs so all 3-rd party
platform need to be installed again.

If you think that the IDE does not work as described above, plese
reopen this bug. No I am setting it as Resolved/WORKSFORME
Comment 4 Lukas Hasik 2005-04-22 10:50:55 UTC
closing