Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > J2ME: javac: target release 1.1. conflicts with default source release 1.5

Reply
Thread Tools

J2ME: javac: target release 1.1. conflicts with default source release 1.5

 
 
John Goche
Guest
Posts: n/a
 
      12-17-2005
Hello,

I have installed Java 1.5 and MIDP 1.0.3. When I use the J2ME
Wireless Toolkit and hit the "Build" button to build the project
I get the following error:

Builing "Hello"
javac: target release 1.1. conflicts with default source release 1.5
com.sun.kvem.ktools.ExecutionException
Build failed

Any idea how come I am getting this? Should I downgrade my JDK?
Or perhaps upgrade to MIDP 2.0 (which among other things has SSL
support, which is missing in MIDP 1.0).

Thanks,

JG

 
Reply With Quote
 
 
 
 
John Goche
Guest
Posts: n/a
 
      12-17-2005
Hello,

I solved this problem by downgrading to JDK 1.4.2
and updating the corresponding Path and CLASSPATH
variables on WinXP:

$ javac -target 1.1 -bootclasspath \
%MIDP_HOME%\classes Hello.java

$ preverify -cldc -classpath %MIDP_HOME%\classes;. -d . Hello

$ midp -classpath . Hello

Thanks,

JG

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make links default to target new window DaMoe HTML 6 06-26-2010 07:32 PM
fib.rb 1.9.1/1.8.6 source code conflicts/errors jzakiya Ruby 4 01-11-2010 09:41 PM
Problem in setting Target Node and Target Tree Property mohit ASP .Net 0 01-23-2008 05:41 AM
[XML Schema] Including a schema document with absent target namespace to a schema with specified target namespace Stanimir Stamenkov XML 3 04-25-2005 09:59 AM
ASP.Net 2.0 release target date? Martin ASP .Net 2 06-23-2004 01:46 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57