I want to send a int value from a Java GUI to a C program. Later on in the code the C program will return a value back using native commands. Apologies as their's no code as their's nothing to show at the moment. Doing some research on how to do this still.
So my problem is how can i send results from java to C. Googling only seems to show socket tutorials and solutions. Mine isn't a network based program so any network communications isn't needed.
From what I can see with native commands, it only works sending C code to Java. Not the other way around.
the value has to come from Java, not C. Reason being is I'm implementing a Java GUI interface that creates a link-list in C.