Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Unable to execute exetuable jar files

$
0
0

I am working with executable jar files

I have a folder E:\a which has Test.java and its .class files,in E:\b. I have two classes Employee.java and student.java and there .class files are E:\C which contains folder structure as com\emp, com\std

I have created a txt file in E:\a Main.txt which has Main-class: Test for manifest files

Now when i run jar -cvfm app.jar Main.txt e:\c to contains files at e:\c location in jar file, inside my jar files folder structure is created like inside jar C\com\emp C\com\std so when I try to run this jar file using java -jar app.jar it is unable to find .class files of employee and student

It should execute jar file app.jar


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>