Skip to main content

jli.dll not found when I run program by C:\Windows\System32\java.exe

15 replies [Last post]
masanao
Offline
Joined: 2003-06-18

When I boot some program using java.exe
located at C:\Windows\System32\java.exe
,JVM crashes with error like...

" jli.dll not found ...."
(exactly it is shown in Japanese)

[command line]
> java -javaagent:plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar

I don't know what "jli.dll" is,but
this must be installed in "C:\Windows\System32" ,isn't it?

this all are tested on Mustang b83.

- original problem,
http://sourceforge.jp/forum/forum.php?thread_id=10993&forum_id=2758
(Japanese Forum)

Message was edited by: masanao

Message was edited by: masanao

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alanb
Offline
Joined: 2005-08-08

This bug is tracked here:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6428573

It appears to be an issue that crept it at b65.

jek3
Offline
Joined: 2006-02-13

I've tracked this down. This is a Makefile Bug where
instrument.dll was intended to be statically linked
against the jli library, but was dynamically linked
instead. When run from the WINDOWS system directory,
no instance of jli.dll is found along the Windows
library search path.

I can't yet tell you what build the fix for this will
appear in, but soon.

I thank you for noting this failure.

jek3
Offline
Joined: 2006-02-13

The fix for this should appear in build 89.

masanao
Offline
Joined: 2003-06-18

Thank you for your information.
I'll check this problem when b89 appears.
(might be 3weeks after?)

masanao
Offline
Joined: 2003-06-18

I confirmed this problem doesn't occur on b89.
Thank you.

alanb
Offline
Joined: 2005-08-08

Are there Japanese characters in the path to the agent specified by the -javaagent option? Does it happen with 5.0?

alexlamsl
Offline
Joined: 2004-09-02

I'm using a plain old english Mustang JRE :-)

I've just typed the command line as suggested in, and got greeted with the error as said here.

Well since I've got Mustang, there's not java.exe in System32 for JRE5.

jek3
Offline
Joined: 2006-02-13

Thanks for all the additional information. I'll get
back to pursuing this next week (I'm currently on the
road). I didn't want silence to be interpreted as
lack of interest.

Note: There has been a .../system32/java.exe for many
releases. It all depends how you installed.

jek3
Offline
Joined: 2006-02-13

Hi, Sun Engineering speaking here.

I can't reproduce this based on the information provided.

I suspect that you've somehow got a non-b83 java.exe installed in the system32 directory, while your installation process removed jli.dll from the system32 directory (there was a small number of builds which dynamically linked against jli.dll, but in b83 it should be statically linked against this library).

Could you:

1) provide the version of system32/java.exe

2) provide the product version of Windows you are
running (XP, Win2000, ...)

3) provide exact details of you you installed b83.

Thanks!

masanao
Offline
Joined: 2003-06-18

Hi,

Here is my environment...

1) provide the version of system32/java.exe

C:\WINDOWS\system32>java -version
java version "1.6.0-beta2"
Java(TM) SE Runtime Environment (build 1.6.0-beta2-b83)
Java HotSpot(TM) Client VM (build 1.6.0-beta2-b83, mixed mode, sharing)

2) provide the product version of Windows you are
running (XP, Win2000, ...)

WindowsXP SP2 set auto-windows-update.

3) provide exact details of you you installed b83.

At the time I got my machine, IBM 1.4.2 jre preinstalled.
And I have installed JDK1.5.0_06 ,
and every week I reinstall mustang snapshot binary got from
http://download.java.net/jdk6/binaries/.
so before I installed b83 , I have installed b82.

Last week I got
http://download.java.net/download/jdk6/binaries/jdk-6-beta2-bin-b83-wind...
and reinstalled JDK.
Reinstall process was ran not by hand but by JDK-installer.
I didn't any special operation on installing b83.

jek3
Offline
Joined: 2006-02-13

Thanks for the info.

I wasn't clear on one of my requests.

"java -version" actually gives you the version of rt.jar. I need the version of java.exe. I was hoping you would go to Windows Explorer and give me the properties on the file java.exe. Do to an implementation quirk, the deprecated "java -fullversion" should also give the version of java.exe.

Perhaps you could give me both to be sure?

masanao
Offline
Joined: 2003-06-18

Oh, I should have noticed :-P

1) full version

C:\WINDOWS\system32>java -fullversion
java full version "1.6.0-beta2-b83"

2) file version on proprety window

Full version: 1.6.0-beta2-b83
File version: 6.0.0.83

I think next version of snapshot will appear soon...
but ....I shouldn't install it ?

jek3
Offline
Joined: 2006-02-13

Thanks for the update.

That's what the version strings are supposed to be. I'm a little disappointed about that. 8^)

I'm traveling this week, but will be looking into this
further.

Feel free to install the next update. If you do, please
let us know what happens.

Thanks for your help with this.

masanao
Offline
Joined: 2003-06-18

Hi,

I updated JDK b83 to b84.
But all the same on b84...

I found a simple reproducing method.

type,
> C:\Windows\System32\java.exe -javaagent:
in CommandPrompt.

alexlamsl
Offline
Joined: 2004-09-02

Readily reproducible on Mustang b82

WinXP Pro (SP2)
P4 HT 3GHz