More than what I’d call a “bunch of files”. /usr/lib/i366-linux-gnu on this machine is 203M. Of course, that includes some things that java doesn’t need.
A quick check shows that java needs at least:
libpthread.so.0
libc.so.6
libdl.so.2
However, there are plenty of libs that are potentially pulled in later by the jre via dlopen() (in lib/i386), so if anything you’re using in java requires one or more of them, you’ll need those, as well.
I downloaded lwjgl-2.8.5 for a quick peek there, and it adds (again, not including anything pulled in via dlopen()):
libX11.so.6
libXext.so.6
libXcursor.so.1
libXrandr.so.2
libxcb.so.1
libXrender.so.1
libXfixes.so.3
libXau.so.6
libXdmcp.so.6
librt.so.1
libm.so.6
I don’t have time right now to look further, I need to leave the house shortly - perhaps later tonight or tomorrow I can dig a bit deeper. Do you have a particular program that you want to have working? Or is it giving you SIGSEGV on even “java -version”?
To get more info on the fault, you could run via gdb. Even without debug symbols, you’d at least get a stack trace that way, which might point toward the problem.
eg:
gdb ./bin/java
(gdb) run -version
replace “-version” with whatever you need – “-jar agame.jar” or whatever.
I’ll at least check in this evening my time (CST - I’m in Minnesota, USA).
I assume your evil plan is to put together a tarball style install package that will run on either 32bit or 64bit machines w/o extra deps, in an attempt to make a tarball install as easy to use as a .deb or .rpm, yes?