Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Can't make jar fiile

  1. #1
    Junior Member
    Join Date
    Sep 2023
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can't make jar fiile

    I'm trying to make a jar file with jar cvfm MakeYears.jar MANIFEST.MF *.class but I get this error message:

    The code execution cannot proceed because jli.dll was not
    found. Reinstalling the program may fix this problem

    I'm running JDK 21 on Windows 11. The class files were compiled by Geany. This happened on JDK 20 as well. I uninstalled it and installed 21 today.

    There is a jli.dll in C:/Program Files/Java/jdk-21/bin

  2. #2
    Member Helium c2's Avatar
    Join Date
    Nov 2023
    Location
    Kekaha, Kaua'i
    Posts
    117
    Thanks
    1
    Thanked 3 Times in 3 Posts

    Default Re: Can't make jar fiile

    The file jli.dll is a windows file. It is run on windows platform, though it is an integrated development environment, Kit. Windows cannot run those files within the Java paradigm. JDK is a tool for web developers to change things around to suit their own needs. Probably not part of the API package so not permitted to do anything.

  3. #3
    Junior Member
    Join Date
    Sep 2023
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Can't make jar fiile

    Quote Originally Posted by Helium c2 View Post
    The file jli.dll is a windows file. It is run on windows platform, though it is an integrated development environment, Kit. Windows cannot run those files within the Java paradigm. JDK is a tool for web developers to change things around to suit their own needs. Probably not part of the API package so not permitted to do anything.
    Is there another way to make a jar on Windows 11 ?

Similar Threads

  1. make own OCR
    By Suhail Tamboli in forum Algorithms & Recursion
    Replies: 0
    Last Post: May 31st, 2013, 12:09 AM
  2. How do i make
    By coderxx0 in forum Java Theory & Questions
    Replies: 15
    Last Post: February 18th, 2013, 07:41 PM
  3. How can I make a JDialog to make main Frame to "sleep"
    By piulitza in forum AWT / Java Swing
    Replies: 1
    Last Post: May 11th, 2012, 08:00 AM
  4. Trying to make a bot
    By ighor10 in forum Java Theory & Questions
    Replies: 1
    Last Post: June 11th, 2010, 02:07 PM
  5. How to make it???
    By Subhasis Banerjee in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: October 29th, 2009, 02:49 PM