Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAR CREATION  RSS feed

 
kalai sundar
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MY PROBLEM IS I CREATING JAR FILE USING TEH FOLLWING STATEMENT


Runtime.getRuntime().exec("jar -cMf e:\\Test9.jar e:\\META-INF e:\\jfm.class");

NOW MY DOUT IS WHETHER I CNA CONCAT STRING VALUE IN BETWEEN THEM FOR EG
String a = e:\\Test9.jar";

Runtime.getRuntime().exec("jar -cMf +a+ e:\\META-INF e:\\jfm.class");

if i do this jar file is not created, any solution is there, plz hepl me

kalai
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!