views:

80

answers:

1

Is there a C or C++ compatible library for reading and writing Java class files?

I.e. something like Apache BCEL.

A: 

None that I'm aware of. However, you can call Java from C++. That will let you use BCEL from C++. If you're on one of gcj's supported platforms, you could try using it to compile BCEL to native code.

Devon_C_Miller