You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Stephen Walsh <st...@connectwithawalsh.com> on 2013/02/07 18:16:52 UTC

Eclipse JRE 1.5

I'm using Eclipse Juno to develop my wicket app, and what I've noticed is
that the JRE keeps switching back to 1.5 instead of staying on 6.  I've
tried changing this in the build path and pointing it to the developer
version of Java 6 multiple times.

I'm wondering if there's a setting somewhere in the Wicket code that forces
the JRE to use 1.5.  I feel like I've seen mail on the list recently that
would indicate that Wicket uses Java 6 and would maybe move to Java 7 when
Oracle makes some changes on their end.

Thoughts?

Thanks!
_______________________________________
Stephen Walsh | http://connectwithawalsh.com

Re: Eclipse JRE 1.5

Posted by Bas Gooren <ba...@iswd.nl>.
slf4j is a project which allows a project to implement logging, and the 
user of that project to decide which actual logging implementation to use.

See http://slf4j.org/

Met vriendelijke groet,
Kind regards,

Bas Gooren

Op 9-2-2013 14:59, schreef Stephen Walsh:
> Looked like there were some other items I needed to upgrade as well: maven compiler plugin, junit.
>
>
> There was one called sfl40j or similar. What is this used for?
>
>
> Thanks again for help! Learning a lot from you guys. Hope to contribute back once I really start understanding. New to java and wicket, so I'm very grateful.
> —
> Stephen Walsh
>
> On Sat, Feb 9, 2013 at 4:57 AM, Martijn Dashorst
> <ma...@gmail.com> wrote:
>
>> Also upgrade your maven-eclipse-plugin to use 2.9. Works much better on OS X.
>> Martijn
>> On Fri, Feb 8, 2013 at 12:08 AM, Stephen Walsh
>> <st...@connectwithawalsh.com> wrote:
>>> This was the answer, Gabriel!  Because my computer only has one JRE (1.6
>>> with dev docs) installed, Eclipse was using it, but it appeared as though I
>>> was using 1.5.
>>>
>>> This minor change to my pom.xml solved it though!  Thank you!
>>>
>>> _______________________________________
>>> Stephen Walsh | http://connectwithawalsh.com
>>>
>>>
>>> On Thu, Feb 7, 2013 at 12:55 PM, Gabriel Landon <gl...@piti.pf> wrote:
>>>
>>>> Hi Stephen,
>>>>
>>>> This did happen to me once!
>>>> Did you check in your pom.xml that your source and target attributes are
>>>> 1.6
>>>> ?
>>>>
>>>>                                  <plugin>
>>>>
>>>> <groupId>org.apache.maven.plugins</groupId>
>>>>
>>>> <artifactId>maven-compiler-plugin</artifactId>
>>>>                                          <version>2.5.1</version>
>>>>                                          <configuration>
>>>> *                                               <source>1.6</source>
>>>>                                                  <target>1.6</target>*
>>>>                                                  <optimize>true</optimize>
>>>>                                                  <debug>true</debug>
>>>>
>>>> <showDeprecation>true</showDeprecation>
>>>>
>>>> <showWarnings>true</showWarnings>
>>>>                                          </configuration>
>>>>                                  </plugin>
>>>>
>>>>
>>>> Regards,
>>>> Gabriel.
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://apache-wicket.1842946.n4.nabble.com/Eclipse-JRE-1-5-tp4656164p4656170.html
>>>> Sent from the Users forum mailing list archive at Nabble.com.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>> -- 
>> Become a Wicket expert, learn from the best: http://wicketinaction.com
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org


Re: Eclipse JRE 1.5

Posted by Stephen Walsh <st...@connectwithawalsh.com>.
Looked like there were some other items I needed to upgrade as well: maven compiler plugin, junit. 


There was one called sfl40j or similar. What is this used for?


Thanks again for help! Learning a lot from you guys. Hope to contribute back once I really start understanding. New to java and wicket, so I'm very grateful. 
—
Stephen Walsh

On Sat, Feb 9, 2013 at 4:57 AM, Martijn Dashorst
<ma...@gmail.com> wrote:

> Also upgrade your maven-eclipse-plugin to use 2.9. Works much better on OS X.
> Martijn
> On Fri, Feb 8, 2013 at 12:08 AM, Stephen Walsh
> <st...@connectwithawalsh.com> wrote:
>> This was the answer, Gabriel!  Because my computer only has one JRE (1.6
>> with dev docs) installed, Eclipse was using it, but it appeared as though I
>> was using 1.5.
>>
>> This minor change to my pom.xml solved it though!  Thank you!
>>
>> _______________________________________
>> Stephen Walsh | http://connectwithawalsh.com
>>
>>
>> On Thu, Feb 7, 2013 at 12:55 PM, Gabriel Landon <gl...@piti.pf> wrote:
>>
>>> Hi Stephen,
>>>
>>> This did happen to me once!
>>> Did you check in your pom.xml that your source and target attributes are
>>> 1.6
>>> ?
>>>
>>>                                 <plugin>
>>>
>>> <groupId>org.apache.maven.plugins</groupId>
>>>
>>> <artifactId>maven-compiler-plugin</artifactId>
>>>                                         <version>2.5.1</version>
>>>                                         <configuration>
>>> *                                               <source>1.6</source>
>>>                                                 <target>1.6</target>*
>>>                                                 <optimize>true</optimize>
>>>                                                 <debug>true</debug>
>>>
>>> <showDeprecation>true</showDeprecation>
>>>
>>> <showWarnings>true</showWarnings>
>>>                                         </configuration>
>>>                                 </plugin>
>>>
>>>
>>> Regards,
>>> Gabriel.
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://apache-wicket.1842946.n4.nabble.com/Eclipse-JRE-1-5-tp4656164p4656170.html
>>> Sent from the Users forum mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
> -- 
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org

Re: Eclipse JRE 1.5

Posted by Martijn Dashorst <ma...@gmail.com>.
Also upgrade your maven-eclipse-plugin to use 2.9. Works much better on OS X.

Martijn

On Fri, Feb 8, 2013 at 12:08 AM, Stephen Walsh
<st...@connectwithawalsh.com> wrote:
> This was the answer, Gabriel!  Because my computer only has one JRE (1.6
> with dev docs) installed, Eclipse was using it, but it appeared as though I
> was using 1.5.
>
> This minor change to my pom.xml solved it though!  Thank you!
>
> _______________________________________
> Stephen Walsh | http://connectwithawalsh.com
>
>
> On Thu, Feb 7, 2013 at 12:55 PM, Gabriel Landon <gl...@piti.pf> wrote:
>
>> Hi Stephen,
>>
>> This did happen to me once!
>> Did you check in your pom.xml that your source and target attributes are
>> 1.6
>> ?
>>
>>                                 <plugin>
>>
>> <groupId>org.apache.maven.plugins</groupId>
>>
>> <artifactId>maven-compiler-plugin</artifactId>
>>                                         <version>2.5.1</version>
>>                                         <configuration>
>> *                                               <source>1.6</source>
>>                                                 <target>1.6</target>*
>>                                                 <optimize>true</optimize>
>>                                                 <debug>true</debug>
>>
>> <showDeprecation>true</showDeprecation>
>>
>> <showWarnings>true</showWarnings>
>>                                         </configuration>
>>                                 </plugin>
>>
>>
>> Regards,
>> Gabriel.
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-wicket.1842946.n4.nabble.com/Eclipse-JRE-1-5-tp4656164p4656170.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Eclipse JRE 1.5

Posted by Stephen Walsh <st...@connectwithawalsh.com>.
This was the answer, Gabriel!  Because my computer only has one JRE (1.6
with dev docs) installed, Eclipse was using it, but it appeared as though I
was using 1.5.

This minor change to my pom.xml solved it though!  Thank you!

_______________________________________
Stephen Walsh | http://connectwithawalsh.com


On Thu, Feb 7, 2013 at 12:55 PM, Gabriel Landon <gl...@piti.pf> wrote:

> Hi Stephen,
>
> This did happen to me once!
> Did you check in your pom.xml that your source and target attributes are
> 1.6
> ?
>
>                                 <plugin>
>
> <groupId>org.apache.maven.plugins</groupId>
>
> <artifactId>maven-compiler-plugin</artifactId>
>                                         <version>2.5.1</version>
>                                         <configuration>
> *                                               <source>1.6</source>
>                                                 <target>1.6</target>*
>                                                 <optimize>true</optimize>
>                                                 <debug>true</debug>
>
> <showDeprecation>true</showDeprecation>
>
> <showWarnings>true</showWarnings>
>                                         </configuration>
>                                 </plugin>
>
>
> Regards,
> Gabriel.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Eclipse-JRE-1-5-tp4656164p4656170.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Eclipse JRE 1.5

Posted by Gabriel Landon <gl...@piti.pf>.
Hi Stephen,

This did happen to me once!
Did you check in your pom.xml that your source and target attributes are 1.6
?

				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<version>2.5.1</version>
					<configuration>
*						<source>1.6</source>
						<target>1.6</target>*
						<optimize>true</optimize>
						<debug>true</debug>
						<showDeprecation>true</showDeprecation>
						<showWarnings>true</showWarnings>
					</configuration>
				</plugin>


Regards,
Gabriel.



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Eclipse-JRE-1-5-tp4656164p4656170.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Eclipse JRE 1.5

Posted by Stephen Walsh <st...@connectwithawalsh.com>.
That's what I figured.  I've now discovered that Maven isn't finding rt.jar
because I'm developing on a Mac.  Mac Java doesn't use rt.jar it uses
classes.jar.

[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ campingawaits
---
[INFO] Using Eclipse Workspace: /Users/stephen/Documents/workspace
[WARNING] Workspace defines a VM that does not contain a valid
jre/lib/rt.jar:
/Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home
[WARNING] Workspace defines a VM that does not contain a valid
jre/lib/rt.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
[INFO] no substring wtp server match.
[INFO] Using as WTP server : JBoss 7.1 Runtime
[INFO] Adding default classpath container:
org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5

Searching for how to get Maven to quit using the default 1.5 on my Wicket
6.5 project.

Thanks, Martin.

_______________________________________
Stephen Walsh | http://connectwithawalsh.com


On Thu, Feb 7, 2013 at 11:32 AM, Martin Grigorov <mg...@apache.org>wrote:

> Hi,
>
> Wicket 1.5 is built with Java 1.5.
> Wicket 6 with Java 6
> Wicket 7 will most probably with JDK 7
>
> Wicket source code doesn't have anything that can talk to Eclipse or any
> other IDE :-)
>
>
> On Thu, Feb 7, 2013 at 6:16 PM, Stephen Walsh <
> stephen@connectwithawalsh.com
> > wrote:
>
> > I'm using Eclipse Juno to develop my wicket app, and what I've noticed is
> > that the JRE keeps switching back to 1.5 instead of staying on 6.  I've
> > tried changing this in the build path and pointing it to the developer
> > version of Java 6 multiple times.
> >
> > I'm wondering if there's a setting somewhere in the Wicket code that
> forces
> > the JRE to use 1.5.  I feel like I've seen mail on the list recently that
> > would indicate that Wicket uses Java 6 and would maybe move to Java 7
> when
> > Oracle makes some changes on their end.
> >
> > Thoughts?
> >
> > Thanks!
> > _______________________________________
> > Stephen Walsh | http://connectwithawalsh.com
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>

Re: Eclipse JRE 1.5

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

Wicket 1.5 is built with Java 1.5.
Wicket 6 with Java 6
Wicket 7 will most probably with JDK 7

Wicket source code doesn't have anything that can talk to Eclipse or any
other IDE :-)


On Thu, Feb 7, 2013 at 6:16 PM, Stephen Walsh <stephen@connectwithawalsh.com
> wrote:

> I'm using Eclipse Juno to develop my wicket app, and what I've noticed is
> that the JRE keeps switching back to 1.5 instead of staying on 6.  I've
> tried changing this in the build path and pointing it to the developer
> version of Java 6 multiple times.
>
> I'm wondering if there's a setting somewhere in the Wicket code that forces
> the JRE to use 1.5.  I feel like I've seen mail on the list recently that
> would indicate that Wicket uses Java 6 and would maybe move to Java 7 when
> Oracle makes some changes on their end.
>
> Thoughts?
>
> Thanks!
> _______________________________________
> Stephen Walsh | http://connectwithawalsh.com
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>