For Programmers: Free Programming Magazines  


Home > Archive > Java Help > November 2007 > Re: Why has Java browser plugin higher priority than additional J2EE









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Why has Java browser plugin higher priority than additional J2EE
Philipp

2007-11-13, 7:18 pm

Ulf Meinhardt wrote:
> I installed previously (successfully) J2EE 1.6 with jdk.
>
> When I open now a command prompt and enter
>
> java -version
>
> then much to my surprise "java version 1.4.2_14" is displayed.
>
> When I search for "java.exe" on all my partitions no other java.exe is found.
>
> So the only possibility is that this is the (IntExp) browser plugin java.
>
> However it was installed BEFORE the new J2EE installation.
>
> Why does J2EE not remove/disable the old installation?
>
> If I look on the path environment variable only the J2EE java.exe is included:
> path=......;D:\java\j2ee\jdk\bin;....
>
> and if I go into this directory (D:\java\j2ee\jdk\bin) and type there
>
> java -version
>
> then the correct version is display 1.6.
>
> JAVA_HOME=D:\java\J2EE\jdk
> is set to the new version as well.
>
> So why has the old java plugin still priority over the new java installation?
>
> From my point of view Java plugin should serve ONLY Java applets in browsers - nothing more
> especially not for compiling.
>


Look in the windows system folders, the 1.4 java.exe may be there...
C:\windows\system32

Phil
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com