Please consider editing your post and mark it as obsolete instead. Do you want to delete post?
5531 : does not support jdk 1.3 for compilation ?
Thibaut
Created
I have a project, with jdk set to WAS 5.0 jdk (1.3.1 IBM).
Invoking Ctrl-F9 gives the following message : Information:Usage: javac Generate class files for specific VM version Information:Compilation completed with 1 error and 0 warnings Information:1 error Information:0 warnings Error:javac: invalid flag: -source
Indeed IBM jdk 1.3.1 does not support the -source flag (it is supported for WAS 5.1 and later though).
Hmm, everything is ok in the jdk table. I can think of the following reasons: 1) The Language level set for the project is 1.4 or 1.5 2) Some modules are configured to use jdk 1.4 or 1.5, so the "-source" is included. Could you please also send me the ipr and all the iml files of your project?
-- Best regards, Eugene Zhuravlev Software Developer JetBrains Inc. http://www.jetbrains.com "Develop with pleasure!"
I've just realized that the report concerns Demetra, not 5.1. While 5.1 is free of this problem, the bug does exist in Demetra. We've fixed it and the fix will be available in the next public EAP build.
-- Best regards, Eugene Zhuravlev Software Developer JetBrains Inc. http://www.jetbrains.com "Develop with pleasure!"
Could you please send me zipped config folder?
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
here it is
Attachment(s):
config.zip
Hmm, everything is ok in the jdk table.
I can think of the following reasons:
1) The Language level set for the project is 1.4 or 1.5
2) Some modules are configured to use jdk 1.4 or 1.5, so the "-source" is included.
Could you please also send me the ipr and all the iml files of your project?
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
"Thibaut" <no_mail@jetbrains.com> wrote in message news:12144802.1139418663105.JavaMail.itn@is.intellij.net...
>>1) The Language level set for the project is 1.4 or 1.5
THis is probably the reason, i'll check tomorrow as soon as i'll get to work. Ashamed i didn't think about it.
OK, i just checked the project level and it is set to 1.3
here is the IPR, IMLs and config zip again, and outputs from both WAS 5.0 and WAS 5.1 javac usages
Attachment(s):
config.zip
moduleAndProjectFiles.zip
WAS5_javac_usage.txt
WAS51_javac_usage.txt
I've just realized that the report concerns Demetra, not 5.1. While 5.1 is free of this problem, the bug does exist in Demetra.
We've fixed it and the fix will be available in the next public EAP build.
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
"Thibaut" <no_mail@jetbrains.com> wrote in message news:12718212.1139479774570.JavaMail.itn@is.intellij.net...
>
thanks a lot ! :)
#Build 4192 not support any IBM JDK version