Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 218743 Details for
Bug 293398
HTTP Preview Server does not start - "Could not find JRE executable"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
HTTP Preview Server bug fix for Eclipse 4.2 Juno
eclipse_juno_http_preview.patch (text/plain), 1.28 KB, created by
Paul Kim
on 2012-07-16 02:58:17 EDT
(
hide
)
Description:
HTTP Preview Server bug fix for Eclipse 4.2 Juno
Filename:
MIME Type:
Creator:
Paul Kim
Created:
2012-07-16 02:58:17 EDT
Size:
1.28 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.wst.server.preview.adapter >Index: src/org/eclipse/wst/server/preview/adapter/internal/core/PreviewLaunchConfigurationDelegate.java >=================================================================== >RCS file: /cvsroot/webtools/servertools/plugins/org.eclipse.wst.server.preview.adapter/src/org/eclipse/wst/server/preview/adapter/internal/core/PreviewLaunchConfigurationDelegate.java,v >retrieving revision 1.8 >diff -u -r1.8 PreviewLaunchConfigurationDelegate.java >--- src/org/eclipse/wst/server/preview/adapter/internal/core/PreviewLaunchConfigurationDelegate.java 17 May 2012 20:37:23 -0000 1.8 >+++ src/org/eclipse/wst/server/preview/adapter/internal/core/PreviewLaunchConfigurationDelegate.java 16 Jul 2012 06:52:47 -0000 >@@ -168,12 +168,12 @@ > } > > protected static File getJavaExecutable() { >- // do not detect on the Mac OS >+ // set the 'java.home' system property on the Mac OS > if (Platform.getOS().equals(Constants.OS_MACOSX)) >- return null; >+ System.setProperty("java.home", "/Library/Java/Home"); > > // retrieve the 'java.home' system property. If that directory doesn't exist, return null >- File javaHome; >+ File javaHome; > try { > javaHome = new File(System.getProperty("java.home")).getCanonicalFile(); > } catch (IOException e) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
eyuen7
:
iplog+
eyuen7
:
review+
Actions:
View
|
Diff
Attachments on
bug 293398
:
188530
|
201700
| 218743