• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Jessica Stensrud
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • 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
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • 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.

 
Campbell Ritchie
Marshal
Posts: 56578
172
  • Mark post as helpful
  • send pies
  • 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: 56578
172
  • Mark post as helpful
  • send pies
  • 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
  • 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
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • 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.
 
Jacob Anawalt
Ranch Hand
Posts: 64
Linux Netbeans IDE Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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.
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • 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
 
Ivan Jozsef Balazs
Rancher
Posts: 999
5
  • Mark post as helpful
  • send pies
  • 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: 56578
172
  • Mark post as helpful
  • send pies
  • 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: 999
5
  • Mark post as helpful
  • send pies
  • 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 ;-)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!