Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do we make the jar file? #12

Closed
MattTree opened this issue Jul 30, 2020 · 3 comments
Closed

How do we make the jar file? #12

MattTree opened this issue Jul 30, 2020 · 3 comments

Comments

@MattTree
Copy link

MattTree commented Jul 30, 2020

To the users or developers out there, how were you able to make the Jar file?

I followed the tutorial below but I'm missing something:

 - Start Command Prompt.

 - Navigate to the folder that holds your class files:

    C:\>cd \mywork

 - Set path to include JDK’s bin.  For example:

    C:\mywork> path c:\Program Files\Java\jdk1.7.0_25\bin;%path%

 - Compile your class(es):

    C:\mywork> javac *.java

 - Create a manifest file

   manifest.txt with, for example, this content:

        Manifest-Version: 1.0
        Created-By: 1.8.0_171 (Oracle Corporation) #your jdk version
        Main-Class: mainPackage.MainClass

 - Create the jar file:

    C:\mywork> jar cvfm Craps.jar manifest.txt *.class

(tutorial link)

However I can't get past the create-classes step:

When I type:

javac .\src\main\java\com\lathrum\VMF2OBJ\*.java

I get 100 errors:

image

Thank you for your time.

@Dylancyclone
Copy link
Owner

Hello!
This project uses a build tool called Maven that handles compiling. Once you have it downloaded and installed, you should be able to compile the project into a jar file with: mvn package.

Maven is used to help make the build process easier (just one short command that handles compiling and packaging into a jar file), and to help with dependencies

Let me know if that works!

@Dylancyclone
Copy link
Owner

Are you still having this issue @MattTree ? If not, I'll close the issue

@MattTree
Copy link
Author

After being stuck I found different software to convert to OBJ. Thanks for your attention. Hopefully someone else who was stuck like me will be able to use the solution you provided.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants