BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

-Target 1.1 HOW !!!

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Compiler
View previous topic :: View next topic  
Author Message
Sam Nova
Guest





PostPosted: Mon Jun 21, 2004 1:55 pm    Post subject: -Target 1.1 HOW !!! Reply with quote



One of the US carriers got a requirement that all classes MUST be compiled
with the parameter "-target 1.1" and right now I'm LOST in how to do that :(

I'm using JBuilder 9 Mobile Edition and under Builder I can select "Java 2
SDK, v 1.2 and later" but not 1.1 and I see no way I can add the parameter
manually.

If anyone got an idea, then PLEASE let me know ASAP.

Cheers,

Sam Nova


Back to top
Kevin Dean
Guest





PostPosted: Mon Jun 21, 2004 2:42 pm    Post subject: Re: -Target 1.1 HOW !!! Reply with quote



Have you tried selecting JDK 1.1 using "Tools | Configure JDK's..."?
Assuming JBuilder 9 supports JDK 1.1 (I'm not sure if it does) that should
solve your problem, assuming that you're also targeting 1.1 libraries.

--
Check out our latest white papers at
http://www.datadevelopment.com/papers/index.html

BladeNET Scores With Borland Enterprise Tools
Team Development with JBuilder and Borland Enterprise Server

Dolphin Data Development Ltd.
http://www.datadevelopment.com/

"Sam Nova" <samn (AT) novalicious (DOT) com> wrote

Quote:
One of the US carriers got a requirement that all classes MUST be compiled
with the parameter "-target 1.1" and right now I'm LOST in how to do that
:(

I'm using JBuilder 9 Mobile Edition and under Builder I can select "Java 2
SDK, v 1.2 and later" but not 1.1 and I see no way I can add the parameter
manually.

If anyone got an idea, then PLEASE let me know ASAP.

Cheers,

Sam Nova





Back to top
Sam Nova
Guest





PostPosted: Mon Jun 21, 2004 3:26 pm    Post subject: Re: -Target 1.1 HOW !!! Reply with quote



Was just about to reply to it myself Smile See below... This also works with
MIDP 2.0

Argh....Guess I should read the help pages twice in the future..

Target VM must be set to "All Java SDKs" and then it is 1.1

As the documentation says:

All Java SDKs Generates the class files to work with versions 1.1 and all
VMs in the Java 2 SDK. When you select this as the target VM, your class
files can be loaded by any VM. If you select this target VM, you need to
enter the following VM Parameter on the Run page of the Runtime
Configurations dialog box in order for the Smart Swap debugger feature
(JBuilder Developer and Enterprise) to work properly: -Xverify:none





"Kevin Dean" <NkOdSePaAnM (AT) datadevelopment (DOT) com> wrote

Quote:
Have you tried selecting JDK 1.1 using "Tools | Configure JDK's..."?
Assuming JBuilder 9 supports JDK 1.1 (I'm not sure if it does) that should
solve your problem, assuming that you're also targeting 1.1 libraries.

--
Check out our latest white papers at
http://www.datadevelopment.com/papers/index.html

BladeNET Scores With Borland Enterprise Tools
Team Development with JBuilder and Borland Enterprise Server

Dolphin Data Development Ltd.
http://www.datadevelopment.com/

"Sam Nova" <samn (AT) novalicious (DOT) com> wrote in message
news:40d6e8d8$1 (AT) newsgroups (DOT) borland.com...
One of the US carriers got a requirement that all classes MUST be
compiled
with the parameter "-target 1.1" and right now I'm LOST in how to do
that
:(

I'm using JBuilder 9 Mobile Edition and under Builder I can select "Java
2
SDK, v 1.2 and later" but not 1.1 and I see no way I can add the
parameter
manually.

If anyone got an idea, then PLEASE let me know ASAP.

Cheers,

Sam Nova







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Compiler All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.