Hey guys, I'm having a problem with trying to replace a string in funky.jar from a java program.

The string in funky.jar is called house.
The default value of house = "brick".

Is there a way I can code my java program to change funky.jar's string to maybe something like "doublebrick".

Strings can not be modified. they're immutable. they can be re-referenced, though.
well, how about you call a getMethod to get the value of the reference, and start building with that?

but in the end: can you change the String itself? no.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.