Opened 5 years ago

Last modified 5 years ago

#1822 open defect

I2Phex standalone will not start properly

Reported by: hummingbird Owned by: zzz
Priority: minor Milestone: undecided
Component: apps/other Version: 0.9.26
Keywords: Cc:
Parent Tickets: Sensitive: no


Zzz, thank you for fixing I2Phex plugin, it now works for me.

However about the standalone way, there is a other issue that make it not start properly (while v3. does).

Note: I have extracted the files from the I2P plugin folder to a empty folder, and used the v3.2.7 '' file.

Here's the log that I get from the terminal (same issue with a full and a empty '.i2phex' profile folder).

java.lang.NoClassDefFoundError: net/i2p/data/DataFormatException
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(
	at phex.servent.Servent.<init>(
	at phex.servent.Servent.<clinit>(
	at phex.Main.main(
Caused by: java.lang.ClassNotFoundException:
	at java.lang.ClassLoader.loadClass(
	at sun.misc.Launcher$AppClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(
	... 12 more


Change History (1)

comment:1 Changed 5 years ago by zzz

Status: newopen

When installed as a plugin, we use the i2p jars from the router. When installed standalone, you have to copy or link to the required i2p jars. We removed those jars from the mtn repo since they will quickly become out of date, you would copy them to thirdparty/i2p before building.

For a standalone setup, copying the phex jars from the plugin dir is fine but a little unorthodox… but you need the i2p jars too.

The jars you need are: i2p.jar, streaming.jar, mstreaming.jar, and jbigi.jar

In my jwebcache post at http://zzz.i2p/topics/2154 I included the following note for standalone, it applies to i2phex also:

Warning: If you link to a running I2P router's jars directly, jwebcache may crash
when the router auto-updates. If you copy the router jars to the jwebcache
directory, you should keep the jars up-to-date after a router update
by stopping jwebcache, re-copying the jars, and restarting jwebcache.

I'll leave this ticket open as this should probably all be documented in the i2phex INSTALL file.

Note: See TracTickets for help on using tickets.