🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #388

ok i solved it

#388
From: Oliver
Date: Thu, 19 May 2005 11:21
24 lines
1659 bytes
Hi,

i found it. There is under "Project settings" (i use IntelliJ) the tab "Paths" and there is a ComboBox "language level for project", there one has to choose 5.0.

regards

Oliver

"Oliver" <o.maas@nospam_metrohm.de> wrote:
>
>Hi,
>
>i recently upgraded my JDK to 1.5, and i tried to compile a project which was originally compiled unter 1.4.2, and it worked fine. Now i added some for-each-loops and the compiler says
>
>for-each-loops are not supported in -source 1.3 (try source -1.5 to enable for-each-loops)
>
>Now i guess i have to add "source -1.5" somewhere, but where?
>My settings (target JDK) is on JDK 1.5 as it should be. There must be another place to tell him about 1.5.
>
>thanks
>
>Oliver
>
Technical Details
Message-ID: <428c76b2$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <428c7382$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,d12fdd655e767dfe
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Oliver" <o.maas@nospam_metrohm.de>
Sender: "Oliver" <o.maas@nospam_metrohm.de>
Reply-To: "Oliver" <o.maas@nospam_metrohm.de>
Subject: ok i solved it
Newsgroups: borland.public.jbuilder.java.language
X-User-Info: 81.90.37.2     
X-Forwarded-For: 192.168.103.10, 127.0.0.1
References:  <428c7382$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <428c76b2$1@newsgroups.borland.com>
Date: 19 May 2005 04:21:22 -0700
X-Trace: newsgroups.borland.com 1116501682 207.105.83.66 (19 May 2005 04:21:22 -0700)
Lines: 25
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail