project.py problem on stable-2.10

48 views
Skip to first unread message

kildall native

unread,
Sep 27, 2014, 7:48:04 AM9/27/14
to repo-d...@googlegroups.com
Hi,

I have built gerrit stable 2.10 and run "tools/eclipse/project.py", but an error occurred.

when I try with gerrit stable 2.9, it works. Can it be a bug of stable 2.10. Or a bug of buck. Any idea ?

[+] BUILDING...12.8s
 |=> IDLE
 |=> //Documentation:licenses.txt...  3.4s (running genrule[3.3s])
Log:
Using buckd.
Daemon is busy, starting new buck process.
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/facebook/buck/cli/Main : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
BUILD FAILED: //Documentation:licenses.txt failed with exit code 1:
genrule

Alex Blewitt

unread,
Sep 27, 2014, 8:25:23 AM9/27/14
to kildall native, repo-d...@googlegroups.com
It looks like the version of java the code is compiled for 1.8 but you are running on 1.7 or below. 

Alex 

Sent from my iPhone 5
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages