jEdit Community - Resources for users of the jEdit Text Editor
Windows installer doesn't find Java
Submitted by rovf on Tuesday, 23 November, 2004 - 08:49
Running the Windows Installer, I get the error message

"Setup unable to find a JDK or Java Runtime 1.3 or higher"

I have installed JDK 1.4, and my JAVA_HOME environment variable points to this
directory. Also I am able to run other Java applications, such as ant. What else
could be the reason for this error message? What other environment variables
should I check?

Ronald
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Have you gotten any help? I
by Anonymous on Wed, 15/12/2004 - 19:45
Have you gotten any help? I have the same issue.
 
As a work-around, just use th
by Anonymous on Wed, 15/12/2004 - 22:18
As a work-around, just use the java installer, available here: http://prdownloads.sourceforge.net/jedit/jedit42install.jar.

Several people have reported this as an issue, but I haven't been able to get to the bottom of it.

If you want e-mail me at [oliver at jedit dot org] an export from your registry of the subkey: "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft", I'll take a look at it. Also, if you could check the following, which is how the installer tries to find "javaw.exe" or "java.exe":

1. Look in "Java Development Kit" or "Java Runtime Environment" find the "CurrentVersion" value.
2. Use the value from above to find the subkey with the same name, and then see if the "JavaHome" value points to a valid location.
3. See if "JavaHome"\bin\{java,javaw}.exe exists.

-Ollie
 
It seems Java windows install
by ecor6633 on Thu, 10/01/2008 - 07:55
It seems Java windows installer doesn't edit windows registry since version on java 1.5.

Here is the content of what I have to add manualy using regedit :

====== START OF Javasoft.reg ======
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit]
"CurrentVersion"="1.6.0_03"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.6.0_03]
"JavaHome"="C:\\Sun\\SDK\\jdk"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
"CurrentVersion"="1.6.0_03"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.6.0_03]
"JavaHome"="C:\\Sun\\SDK\\jdk\\jre"
====== END OF Javasoft.reg ======

I'm also working on a stupid C# program that could automatically set those value for you. Once subitted as a new sourceforge project I'll come put the link here but for me the installer should change it's way of detecting java.

Why not using JAVA_HOME environement variable ?
 
Change Request, Hi, maybe
by redsofa on Tue, 30/01/2007 - 23:41
Change Request,

Hi, maybe it would be a good idea if the installer try to use the JAVA_HOME environment variable and not something_strange_in_windows_registry.

I installed my JDK from a zipped previous installation (I know this is totaly not standard) and I am sure there are no entries in the registry Eye-wink

tschuess
tom
 
Windows installer failure
by Anonymous on Tue, 18/01/2005 - 19:33
I am running Win2K Pro. Also Eclipse, JBoss.
I have the same problem with the Windows installer.
It looks like Windows has the Registry values munged up.
I uninstalled all my Java SDKs and cleaned all the registry
references so there was no trace of Java. Then I reinstalled
the J2EE 1.4 SDK. This installation places NO values in the
registry for Javasoft or Java, and none for the JDK/JRE. It only
enters keys for the AppServer in the registry under "Sun Microsystems".

For the installer to work, it must ignore the registry and follow
the classpath.

JBoss and Eclipse work fine.

Mark Bradford
mbradford@pennwell.com
 
Java install doesn't show all plugins in manager - windows does
by Anonymous on Thu, 16/12/2004 - 15:00
The only problem with using the Java install under windows, is that many of the plugins don't show up in the plugin manager install tab. They do, however, under the windows install.
 
What? That sounds very fishy
by Anonymous on Thu, 16/12/2004 - 15:13
What? That sounds very fishy. What plugins aren't showing up? Are you using the 4.2 installer? Are plugins not showing up because they're already installed?

-Ollie
 
This happened to me. This is
by Anonymous on Sun, 13/02/2005 - 15:09
This happened to me.
This is how I fixed it.
start -> run -> regedit
go to HKEY_LOCAL_MACHINE Software Javasoft and edit the javahome variable to where your java file is eg c:/j2sdk1.4.2_06

My one was set to c:/borland because i previously unistalled jbuilder.

Hope this helps
 
didnt work, but i worked it out
by Anonymous on Wed, 23/03/2005 - 13:48
the above solution didnt work for me.
anyway i found the solution:
under HKEY_LOCAL_MACHINE/SOFTWARE put a new key JavaSoft if it isnt exist.
Under JavaSoft put a new key 'Java Development Kit' without the '. put a new string value named CurrentVersion and a value of your current jdk version (1.4.2_6 on mine). put a subkey under 'Java Development Kit' named the same with your version (1.4.2_6 on mine). put a string value named JavaHome with a value of your jdk home dir (c:\Sun\AppServer\jdk on mine).

It is likely that people whose installer didnt work is using j2ee installation.

bungrudi at gmail dot com
User login
Browse archives
« October 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   100936
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300