Mac下载eclipse后，点击打开，提示要下载Java SE 6才能打开，下载javaSE6后还是打不开，提示为Version 1.6.0_65 of the JVM is not suitable for this product。 然后我在网上百度了一下说是要下jre，于是又从网站上下了jre。. The message is pretty clear, assuming that you haven’t already installed a newer version of Java, but it’s darned confusing if you already have a Java 7 (1.7) or Java 8 (1.8) JRE or JDK installed.
> Running Eclipse After installing the Eclipse SDK in a directory, you can start the Workbench by running the Eclipse executable included with the release (you also need at least a JDK6 or JRE 6, not included with the Eclipse SDK). On Windows, the executable file is called eclipse.exe, and is located in the eclipse sub-directory of the install. If installed at c: eclipse-SDK-4.4-win32, the executable is c: eclipse-SDK-4.4-win32 eclipse eclipse.exe. Note: Set-up on most other operating environments is analogous. Special instructions for Mac OS X are listed.
Allocating enough memory and solving OutOfMemoryErrors By default, Eclipse will allocate up to 384 megabytes of Java heap memory. This should be ample for all typical development tasks. However, depending on the JRE that you are running, the number of additional plug-ins you are using, and the number of files you will be working with, you could conceivably have to increase this amount.
Eclipse allows you to pass arguments directly to the Java VM using the -vmargs command line argument, which must follow all other Eclipse specific arguments. Thus, to increase the available heap memory, you would typically use: eclipse -vmargs -Xmx with the value set to greater than '384M' (384 megabytes -- the default). When using an Oracle JRE, you may also need to increase the size of the permanent generation memory. The default maximum is 64 megabytes, but more may be needed depending on your plug-in configuration and use.
When the VM runs out of permanent generation memory, it may crash or hang during class loading. The maximum permanent generation size is increased using the -XX:MaxPermSize= argument: eclipse -vmargs -XX:MaxPermSize= This argument may not be available for all VM versions and platforms; consult your VM documentation for more details. Note that setting memory sizes to be larger than the amount of available physical memory on your machine will cause Java to 'thrash' as it copies objects back and forth to virtual memory, which will severely degrade your performance. Selecting a workspace When the Workbench is launched, the first thing you see is a dialog that allows you to select where the workspace will be located. The workspace is the directory where your work will be stored. If you do not specify otherwise, Eclipse creates the workspace in your user directory. This workspace directory is used as the default content area for your projects as well as for holding any required metadata.
For shared or multi-workspace installs you must explicitly specify the location for your workspace using the dialog (or via the ' -data' command line argument). Specifying the Java virtual machine Here is a typical Eclipse command line: eclipse -vm c: jdk7u45 jre bin javaw Tip: It's generally a good idea to explicitly specify which Java VM to use when running Eclipse. This is achieved with the ' -vm' command line argument as illustrated above. If you don't use ' -vm', Eclipse will look on the O/S path. When you install other Java-based products, they may change your path and could result in a different Java VM being used when you next launch Eclipse.
Update microsoft word for mac 2011 for mac high sierra. To create a Windows shortcut to an installed Eclipse: • Navigate to eclipse.exe in Windows Explorer and use Create Shortcut on the content menu. • Select the shortcut and edit its Properties. In the Target: field append the command line arguments.
Opening this shortcut launches Eclipse. (You can drag the shortcut to the Windows Desktop if you want to keep it in easy reach.) On Mac OS X, you start Eclipse by double clicking the Eclipse application. If you need to pass arguments to Eclipse, you'll have to edit the eclipse.ini file inside the Eclipse application bundle: select the Eclipse application bundle icon while holding down the Control Key. This will present you with a popup menu. Select 'Show Package Contents' in the popup menu.
- суббота 03 ноября