Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

String Array from C to Java

843829Oct 20 2003 — edited Oct 20 2003
I have a legacy C program in which I need to access Java code. I have most of it done. The part I don't know how to do is pass an array of strings from the C program into the java method.

Specifically, I want to pass the command line parameters (argv) to a Java method whose signature is String[] args.

Any help would be great.

Thanks!!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 17 2003
Added on Oct 20 2003
3 comments
309 views