[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Ask for help on new pkg xperia-flashtool on classpath

Dear java and mentors list,

Thanks to ftpmaster's effort and efficiency, my package
xperia-flashtool and all its dependencies all hit unstable lately.
(PS. xperia-flashtool is the open source ROM image flashing tool for
xperia phone.)

However the pkg still cannot be used due to classpath issue, I guess.
After installing xperia-flashtool, and run java command, it report error:

$ java -jar /usr/share/xperia-flashtool/x10flasher.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
        at gui.Main.run(Unknown Source)
        at gui.Main.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException:
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)

I tried to add classpath, such as"-cp /usr/share/java/log4j-core.jar",
but all failed.
I guess there's classpath issue either on building, or runtime, or both.
Could anyone kindly help me out?

The git repo locates at:
- https://salsa.debian.org/java-team/xperia-flashtool

Thanks in advance!

Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1

Reply to: