[
https://issues.jboss.org/browse/RF-13468?page=com.atlassian.jira.plugin.s...
]
Michal Petrov commented on RF-13468:
------------------------------------
Fixed. I was under the impression I have JDK 6 installed but it turns out the recent
versions of Fedora consider it obsolete and don't let you install it through the usual
means.
Photoalbum build fails with JDK 6
---------------------------------
Key: RF-13468
URL:
https://issues.jboss.org/browse/RF-13468
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: examples
Reporter: Brian Leathem
Assignee: Michal Petrov
Labels: photoalbum
Fix For: 4.3.5
Builidng the photoalbum with JDK 6 fails with the error:
{code}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project
richfaces-photoalbum: Compilation failure: Compilation failure:
[ERROR]
/home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[30,20]
package java.nio.file does not exist
[ERROR] Cannot find annotation method 'value()' in type
'org.richfaces.cdk.annotations.EventName'
[ERROR]
/home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[78,29]
cannot find symbol
[ERROR] symbol : method toPath()
[ERROR] location: class java.io.File
[ERROR]
/home/bleathem/workspace/richfaces/richfaces4/dev-examples/photoalbum/src/main/java/org/richfaces/photoalbum/util/FileHandler.java:[78,12]
cannot find symbol
[ERROR] symbol : variable Files
[ERROR] location: class org.richfaces.photoalbum.util.FileHandler
[ERROR] -> [Help 1]
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira