You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Jeff Huff (JIRA)" <se...@james.apache.org> on 2011/06/07 22:25:58 UTC

[jira] [Created] (JAMES-1265) James Server seems to be compiled with Java 6 instead of Java 5

James Server seems to be compiled with Java 6 instead of Java 5
---------------------------------------------------------------

                 Key: JAMES-1265
                 URL: https://issues.apache.org/jira/browse/JAMES-1265
             Project: JAMES Server
          Issue Type: Bug
          Components: Matchers/Mailets (bundled)
    Affects Versions: Trunk
            Reporter: Jeff Huff


When creating custom mailets that extend org.apache.james.transport.mailets.AbstractRedirect and clone an existing mail the way Redirect does a compiler error is produced.

MailImpl newMail = new MailImpl(originalMail);

    [javac] bad class file: G:\Builds\ThirdParty\Rel_1.3\src\Apache\JamesServer\
Rel_3.0\james-server-container-spring-3.0-M3-SNAPSHOT\lib\james-server-core-3.0-
M3-SNAPSHOT.jar(org/apache/james/core/MailImpl.class)
    [javac] class file has wrong version 50.0, should be 49.0

The main James site indicates that only Java 5 is required...

http://james.apache.org/server/3/index.html
James 3.0 requires Java 1.5 but Java 1.6 is recommended.

Changing the custom mailet compiler to 1.6 eliminates the error.  It would be nice to be able to compile and run with Java 5.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] [Resolved] (JAMES-1265) James Server seems to be compiled with Java 6 instead of Java 5

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-1265.
----------------------------------

       Resolution: Not A Problem
    Fix Version/s: 3.0-beta1
         Assignee: Norman Maurer

We switched to java6 as minimum for the next release a few weeks before. See:

http://svn.apache.org/repos/asf/james/server/trunk/README.txt

> James Server seems to be compiled with Java 6 instead of Java 5
> ---------------------------------------------------------------
>
>                 Key: JAMES-1265
>                 URL: https://issues.apache.org/jira/browse/JAMES-1265
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: Matchers/Mailets (bundled)
>    Affects Versions: Trunk
>            Reporter: Jeff Huff
>            Assignee: Norman Maurer
>             Fix For: 3.0-beta1
>
>
> When creating custom mailets that extend org.apache.james.transport.mailets.AbstractRedirect and clone an existing mail the way Redirect does a compiler error is produced.
> MailImpl newMail = new MailImpl(originalMail);
>     [javac] bad class file: G:\Builds\ThirdParty\Rel_1.3\src\Apache\JamesServer\
> Rel_3.0\james-server-container-spring-3.0-M3-SNAPSHOT\lib\james-server-core-3.0-
> M3-SNAPSHOT.jar(org/apache/james/core/MailImpl.class)
>     [javac] class file has wrong version 50.0, should be 49.0
> The main James site indicates that only Java 5 is required...
> http://james.apache.org/server/3/index.html
> James 3.0 requires Java 1.5 but Java 1.6 is recommended.
> Changing the custom mailet compiler to 1.6 eliminates the error.  It would be nice to be able to compile and run with Java 5.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org