Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3789 Windows installer fails to find Java 1.6.0

normal bug
open
5
2013-10-26
2013-03-19
jurgenfd
No

Hi guys, thanks for jEdit, long time user!

When using the windows installer, the installer mentions needing java 1.6.0 runtime which I have installed at: C:\Program Files (x86)\Java\jre6\bin\javaw.exe (1.6.0_43). It does however finish the install fine. I can run fine from the installed .jar but really would like the windows integration and the installed jedit.exe fails with the same window pop up and redirection to sun's java update site.

How can I get the windows integration working? Perhaps alternatively as a work around jEdit could be to launched from a .bat like below. But I'm not too familiar with .bat and I don't get it to use the file argument...

Using:
jEdit version number: 5.0.0 from windows installer
platform: Windows 7 SP1
Java version: 1.6.0_43 (might be using 1.7 though )

Following recommendations at; http://stackoverflow.com/questions/3333553/how-can-i-change-the-java-runtime-version-on-windows-7 I have not messed with JAVA_HOME environment variable.

============================
Batch file (.bat)
@echo on
@echo DEBUG: Starting jEdit: [ %0 ]
@echo DEBUG: Command line arguments 1 thru 4: [ %1 %2 %3 %4 ]
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -jar "C:\Program Files (x86)\jEdit 5.0.0\jedit.jar" %1
@echo DEBUG: exiting jEdit.

Discussion

  • Alan Ezust
    Alan Ezust
    2013-10-26

    • assigned_to: nobody --> vampire0