> Many people will feel I very strange since I would like to know
> the system endianess. Since I am working JNI so I need to concern about
> it.
You can deal with endianess in native code not in Java
code. I think that system dependent stuffs should not be
dealt with in Java code.
See the following code from GNU libc,
#undef LITTLE_ENDIAN
#undef BIG_ENDIAN
#if defined(__i386__) || defined(__alpha__) \
|| (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
# define LITTLE_ENDIAN
#elif defined(__mc68000__) || defined (__sparc__) || defined (__PPC__) \
|| (defined(__mips__) && (defined(MIPSEB) || defined (__MIPSEB__)))
# define BIG_ENDIAN
#else
# error architecture not supported by the Linux C library
#endif
Kazuyuki SHUDO Happy Hacking!
Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ.