Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Can't get java to compile - Windows 8 using jdk1.7.0_72 - jli.dll missing

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi and thanks in advance for any help.
I WAS using java jdk1.6.0_65 very successfully for about a year when my company decided to upgrade to windows 8 and I was required by them to totally uninstall java.
I have no time after work to study or take part in the Cattle drive so am forced to do it at work on my work laptop.
I have been going around and around for days, googling, trying to ask Java.com and Oracle.com for help - chat windows not opening - too many service requests. Customer tech support "does not handle java." Unbelievable.

I got from a post here on Beginning Java that I should use jdk1.7.0_71/72 on Windows 8
Installed that (72), altered the JAVA_HOME in environment variables, but when I compile a program, I still get that jli.dll is missing.
I don't want to just download it from some wonky site.
I install over and over. Same thing.
Please help.
Thanks,
Jessica
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Strange. Did you get any error messages while installing the JDK?

Where did you download it from? Oracle's official page to download the JDK from is here: Java SE Downloads. Also see the installation instructions.

If it still doesn't work, you could try temporarily disabling your virus scanner (if you have one) while you install the JDK. Maybe for some reason it's interfering with the installation process.

 
Marshal
Posts: 74780
336
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jesper de Jong wrote: . . . try temporarily disabling your virus scanner (if you have one) while you install the JDK. . . .

While you are disconnected from the Internet, of course

No idea what dli.dll is, but I found a couple of links with it in: 1 2. Don't know whether they will help you. But Java is usually easy to install on any OS. Our FAQ has installation instructions in.
 
Campbell Ritchie
Marshal
Posts: 74780
336
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shall I try the right spelling of that dll ?
Try these links: 1 2 3 4

No 3 looks maybe the best but I haven't examined the links thoroughly. You might find your problem goes away if you uninstall Java, download it and reinstall it.
 
Jessica Stensrud
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unfortunately, I cannot disable the virus scanner as the laptop is connected to the work network and I have no access to whatever virus software we have - I don't even know what it is.
I guess I'll just try reinstalling it when not logged into the network - the file it's missing is JLI.DLL (all lower case - typed upper case here for clarity).
I don't want to try to download that from a non-Oracle source for fear it will contain some worm that infects the work network.
That would make sense that the anti-virus (whatever it is) is on the lookout for .dll files. Our security here at work keeps tightening exponentially, web sites blocked.
I have uninstalled and reinstalled so many times, I've lost count.

Thanks for the ray of hope!
Jessica
 
Jesper de Jong
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would not try to download that DLL from some random website and try to install it manually. If you do that, you have no idea if you get the right version of the DLL, and you might get more weird errors.
 
Ranch Hand
Posts: 64
Netbeans IDE Linux Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been using JDK 6, 7, and 8 on Windows 8 and 8.1 systems, no problems, just to put that thought to rest.

Maybe this is the key "altered the JAVA_HOME in environment variables". Link #4 that Campbell shared talks about a bad path causing the problem.

Do you have jil.dll in your JDK\bin directory? If you do, check your %PATH% and %JAVA_HOME% again.
 
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jacob Anawalt wrote:I've been using JDK 6, 7, and 8 on Windows 8 and 8.1 systems, no problems, just to put that thought to rest...


Cheers for that (+1); and kudos on taking on Windows 8. My first (and second and third) thoughts when I saw that monstrosity were: Get me out of here!

Luckily, I finally figured out how to get around the "MS-only" UEFI boot setup, and I'm happily running Mint now. I believe that Windows 8 has finally cured me of any urge to use Windows ever again, so thanks Microsoft.

Winston
 
Rancher
Posts: 1043
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:But Java is usually easy to install on any OS.



Usually. Java 8 won't install on XP. However a JDK installed on Windows 7 can be copied to XP and it works.
 
Campbell Ritchie
Marshal
Posts: 74780
336
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't have any XP computers to try that on, but thank you. I never knew that.
 
Ivan Jozsef Balazs
Rancher
Posts: 1043
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:Don't have any XP computers to try that on



Two (my desktop and the laptop) of the 4 computers in my house run XP, so I am in a better position from this point of view ;-)
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic