 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Gary Guest
|
Posted: Mon Sep 12, 2005 4:59 pm Post subject: error compiling in JBuilder2005 with JDK 1.3.1 |
|
|
Hello,
I'm trying to compile a project on JBuilder 2005 using the JDK 1.3.1 that is included with Websphere 5.0. I have set my JDK to "java version J2RE 1.3.1 IBM Windows 32 build cn131-20021107" in my project properties path and have set my compiler to "Project javac". When I try to compile, I get the following error"
StdErr
javac: invalid flag: -source
It turns out that JBuilder 2005 automatically uses the -source option in its javac command. This option is supported by all JDKs 1.4.2 and up. Is there any way to get edit JBuilder 2005 to get rid of this option? Is there any way around this issue without having to update the JDK?
Thanks for your help,
Gary
|
|
| Back to top |
|
 |
Ludovic HOCHET Guest
|
Posted: Mon Sep 12, 2005 8:29 pm Post subject: Re: error compiling in JBuilder2005 with JDK 1.3.1 |
|
|
May be you can try adapting my OT:
http://codecentral.borland.com/Item.aspx?id=21447
HTH,
Gary a écrit :
| Quote: | Hello,
I'm trying to compile a project on JBuilder 2005 using the JDK 1.3.1 that is included with Websphere 5.0. I have set my JDK to "java version J2RE 1.3.1 IBM Windows 32 build cn131-20021107" in my project properties path and have set my compiler to "Project javac". When I try to compile, I get the following error"
StdErr
javac: invalid flag: -source
It turns out that JBuilder 2005 automatically uses the -source option in its javac command. This option is supported by all JDKs 1.4.2 and up. Is there any way to get edit JBuilder 2005 to get rid of this option? Is there any way around this issue without having to update the JDK?
Thanks for your help,
Gary
|
--
Ludovic
-----------------------------------------
"Les formes qui differencient les etres importent peu
si leur pensees s'unissent pour batir un univers..."
Yoko Tsuno (in 'Les titans' by Roger Leloup)
[The shapes that differenciate beings are not important
if their thoughts unite to build a universe]
|
|
| Back to top |
|
 |
Gary Guest
|
Posted: Tue Sep 13, 2005 2:27 pm Post subject: Re: error compiling in JBuilder2005 with JDK 1.3.1 |
|
|
Thanks for the reply. The download link is broken.
Ludovic HOCHET <personne@nullepart> wrote:
| Quote: | May be you can try adapting my OT:
http://codecentral.borland.com/Item.aspx?id=21447
HTH,
Gary a écrit :
Hello,
I'm trying to compile a project on JBuilder 2005 using the JDK 1.3.1 that is included with Websphere 5.0. I have set my JDK to "java version J2RE 1.3.1 IBM Windows 32 build cn131-20021107" in my project properties path and have set my compiler to "Project javac". When I try to compile, I get the following error"
StdErr
javac: invalid flag: -source
It turns out that JBuilder 2005 automatically uses the -source option in its javac command. This option is supported by all JDKs 1.4.2 and up. Is there any way to get edit JBuilder 2005 to get rid of this option? Is there any way around this issue without having to update the JDK?
Thanks for your help,
Gary
--
Ludovic
-----------------------------------------
"Les formes qui differencient les etres importent peu
si leur pensees s'unissent pour batir un univers..."
Yoko Tsuno (in 'Les titans' by Roger Leloup)
[The shapes that differenciate beings are not important
if their thoughts unite to build a universe]
|
|
|
| Back to top |
|
 |
Lori M Olson [TeamB] Guest
|
|
| Back to top |
|
 |
Gary Guest
|
Posted: Tue Sep 13, 2005 5:25 pm Post subject: Re: error compiling in JBuilder2005 with JDK 1.3.1 |
|
|
The download link is giving me this error:
Error: ArgumentOutOfRangeException : Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
Error Code: Not Specified
URL: /Item.aspx?id=21447
Server: USSVS-BDN1
Occured: Tue, 13 Sep 2005 10:14:02 GMT
Log ID: 44807428-13f1-4088-9595-d197cbcd847c
Gary
"Lori M Olson [TeamB]" <javadragon (AT) techie (DOT) com> wrote:
|
|
| Back to top |
|
 |
Lori M Olson [TeamB] Guest
|
Posted: Tue Sep 13, 2005 5:53 pm Post subject: Re: error compiling in JBuilder2005 with JDK 1.3.1 |
|
|
Gary wrote:
| Quote: | The download link is giving me this error:
Error: ArgumentOutOfRangeException : Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
Error Code: Not Specified
URL: /Item.aspx?id=21447
Server: USSVS-BDN1
Occured: Tue, 13 Sep 2005 10:14:02 GMT
Log ID: 44807428-13f1-4088-9595-d197cbcd847c
Gary
|
It works for me on Macintosh, on Firefox and Safari. It works for me on
Windows with IE and Firefox.
I'm thinking you have a BDN login problem. Try going to
http://bdn.borland.com and make sure you can successfully log in. Then
go back and try the download again.
--
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
|
|
| Back to top |
|
 |
Ludovic HOCHET Guest
|
Posted: Tue Sep 13, 2005 6:09 pm Post subject: Re: error compiling in JBuilder2005 with JDK 1.3.1 |
|
|
Try Lori's way,
if you still can't get from CodeCentral then you can try there:
https://jbuilder-opentools.dev.java.net/files/documents/2261/12385/jdk15compiler.zip
HTH,
Lori M Olson [TeamB] a écrit :
| Quote: | Gary wrote:
The download link is giving me this error:
Error: ArgumentOutOfRangeException : Index was out of range. Must be
non-negative and less than the size of the collection. Parameter name:
index
Error Code: Not Specified
URL: /Item.aspx?id=21447
Server: USSVS-BDN1
Occured: Tue, 13 Sep 2005 10:14:02 GMT
Log ID: 44807428-13f1-4088-9595-d197cbcd847c
Gary
It works for me on Macintosh, on Firefox and Safari. It works for me on
Windows with IE and Firefox.
I'm thinking you have a BDN login problem. Try going to
http://bdn.borland.com and make sure you can successfully log in. Then
go back and try the download again.
|
--
Ludovic
-----------------------------------------
"Les formes qui differencient les etres importent peu
si leur pensees s'unissent pour batir un univers..."
Yoko Tsuno (in 'Les titans' by Roger Leloup)
[The shapes that differenciate beings are not important
if their thoughts unite to build a universe]
|
|
| Back to top |
|
 |
Gary Guest
|
Posted: Tue Sep 13, 2005 7:10 pm Post subject: Re: error compiling in JBuilder2005 with JDK 1.3.1 |
|
|
Ludovic HOCHET <personne@nullepart> wrote:
| Quote: | Try Lori's way,
if you still can't get from CodeCentral then you can try there:
https://jbuilder-opentools.dev.java.net/files/documents/2261/12385/jdk15compiler.zip
HTH,
Lori M Olson [TeamB] a écrit :
Gary wrote:
The download link is giving me this error:
Error: ArgumentOutOfRangeException : Index was out of range. Must be
non-negative and less than the size of the collection. Parameter name:
index
Error Code: Not Specified
URL: /Item.aspx?id=21447
Server: USSVS-BDN1
Occured: Tue, 13 Sep 2005 10:14:02 GMT
Log ID: 44807428-13f1-4088-9595-d197cbcd847c
Gary
It works for me on Macintosh, on Firefox and Safari. It works for me on
Windows with IE and Firefox.
I'm thinking you have a BDN login problem. Try going to
http://bdn.borland.com and make sure you can successfully log in. Then
go back and try the download again.
--
Ludovic
-----------------------------------------
"Les formes qui differencient les etres importent peu
si leur pensees s'unissent pour batir un univers..."
Yoko Tsuno (in 'Les titans' by Roger Leloup)
[The shapes that differenciate beings are not important
if their thoughts unite to build a universe]
|
|
|
| Back to top |
|
 |
Gary Guest
|
Posted: Tue Sep 13, 2005 7:11 pm Post subject: Re: error compiling in JBuilder2005 with JDK 1.3.1 |
|
|
Thanks, I got it now.
Ludovic HOCHET <personne@nullepart> wrote:
| Quote: | Try Lori's way,
if you still can't get from CodeCentral then you can try there:
https://jbuilder-opentools.dev.java.net/files/documents/2261/12385/jdk15compiler.zip
HTH,
Lori M Olson [TeamB] a écrit :
Gary wrote:
The download link is giving me this error:
Error: ArgumentOutOfRangeException : Index was out of range. Must be
non-negative and less than the size of the collection. Parameter name:
index
Error Code: Not Specified
URL: /Item.aspx?id=21447
Server: USSVS-BDN1
Occured: Tue, 13 Sep 2005 10:14:02 GMT
Log ID: 44807428-13f1-4088-9595-d197cbcd847c
Gary
It works for me on Macintosh, on Firefox and Safari. It works for me on
Windows with IE and Firefox.
I'm thinking you have a BDN login problem. Try going to
http://bdn.borland.com and make sure you can successfully log in. Then
go back and try the download again.
--
Ludovic
-----------------------------------------
"Les formes qui differencient les etres importent peu
si leur pensees s'unissent pour batir un univers..."
Yoko Tsuno (in 'Les titans' by Roger Leloup)
[The shapes that differenciate beings are not important
if their thoughts unite to build a universe]
|
|
|
| Back to top |
|
 |
Gary Guest
|
Posted: Wed Sep 14, 2005 9:59 pm Post subject: Re: error compiling in JBuilder2005 with JDK 1.3.1 |
|
|
I got it working. Thanks for your help.
Ludovic HOCHET <personne@nullepart> wrote:
| Quote: | Try Lori's way,
if you still can't get from CodeCentral then you can try there:
https://jbuilder-opentools.dev.java.net/files/documents/2261/12385/jdk15compiler.zip
HTH,
Lori M Olson [TeamB] a écrit :
Gary wrote:
The download link is giving me this error:
Error: ArgumentOutOfRangeException : Index was out of range. Must be
non-negative and less than the size of the collection. Parameter name:
index
Error Code: Not Specified
URL: /Item.aspx?id=21447
Server: USSVS-BDN1
Occured: Tue, 13 Sep 2005 10:14:02 GMT
Log ID: 44807428-13f1-4088-9595-d197cbcd847c
Gary
It works for me on Macintosh, on Firefox and Safari. It works for me on
Windows with IE and Firefox.
I'm thinking you have a BDN login problem. Try going to
http://bdn.borland.com and make sure you can successfully log in. Then
go back and try the download again.
--
Ludovic
-----------------------------------------
"Les formes qui differencient les etres importent peu
si leur pensees s'unissent pour batir un univers..."
Yoko Tsuno (in 'Les titans' by Roger Leloup)
[The shapes that differenciate beings are not important
if their thoughts unite to build a universe]
|
|
|
| Back to top |
|
 |
|
|
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
|
|