No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Re: Hi, I want to execute unix commands(pdftops and ps2pdf) in windows system using java environment. but m getting error.plz help me. here is my code: public static Process p1; public static Runtime rt; rt = Runtime.getRuntime(); ////linux commands filename=args[0].replace( | |
Re: duplicate = getduplicate(); in the main method is without the argument. also in public static void getduplicate(int num[]) change void to int (if you want to return the integer number , as it expects). | |
Hi, I want to execute unix commands(pdftops and ps2pdf) in windows system using java environment. but m getting error.plz help me. here is my code:[CODE] public static Process p1; public static Runtime rt; rt = Runtime.getRuntime(); ////linux commands filename=args[0].replace(".pdf","temp.pdf"); String pdftopsCmd ="pdftops "+args[0]+" temp.ps"; String pstopdfCmd="ps2pdf temp.ps " +filename; p1 … |
The End.