[Photon] install on windows

Hannes.REUTER at ec.europa.eu Hannes.REUTER at ec.europa.eu
Thu Oct 30 13:04:32 UTC 2014


Dear,

Two quick questions:


1)      Is #100 fixed in the download mentioned on the webpage... It pops up on a win8.1 system.

2)      Which version was used for compilation of the jar files ? I received an error message which implies somehow the Java version is too low..
M:\photon\photon_data\elasticsearch>java -jar photon-0.1.1.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: spark/Route :
Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)....
Could not find the main class: de.komoot.photon.importer.App. Program will exit.

On the webpage its mentioned that JAVA 6 (JRE or JDK?) is needed, Wikipedia indicates that the reported 51 would be (J2SE 7 = 51 (0x33 hex))

My java version is:
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Client VM (build 20.45-b01, mixed mode, sharing)

Has the target argument been set while compiling ?


Cheers Hannes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/photon/attachments/20141030/bd3d63a7/attachment.html>


More information about the Photon mailing list