|
Re: Help With Re-installing Eclipse [message #1403010 is a reply to message #1403008] |
Sat, 19 July 2014 19:38 |
|
On 07/19/2014 01:31 PM, Patrick McKnew wrote:
> I am a using 64-bit Windows 7 laptop, which I installed Eclipse onto. I
> used the JDK to complete class assignments, and it worked just fine with
> Java 7. Unfortunately, it had to get repaired and somebody decided the
> hard drive needed to get replaced. So I am trying to re-install Eclipse
> using Java 8 so I can start using the JDK to write Java again. However,
> I keep getting an error saying it can't find the JNI. So which package
> do I download for it to work?
If you installed Luna, it came with support for Java 8 and you only need
to install JDK 8 following the instructions you should have read in the
sticky post at the top of this forum:
http://www.eclipse.org/forums/index.php/t/198527/
If you installed Kepler, there's a feature patch that needs to be installed.
Of course, you can just install JDK 7, follow the instructions in the
link above, and get on with life no matter which version of Eclipse you
elect to install. You only need Java 8 if you need Java 8 features.
|
|
|
|
Re: Help With Re-installing Eclipse [message #1403015 is a reply to message #1403013] |
Sat, 19 July 2014 21:58 |
|
On 07/19/2014 02:06 PM, Patrick McKnew wrote:
> The page http://wiki.eclipse.org/Eclipse.ini says to use a "command
> line". How do I get the command line?
No it doesn't say that.
It says that "eclipse.ini is a text file containing command-line options
that are added to the command line when Eclipse is started up." You're
on Windows, you should create a shortcut with which to launch Eclipse,
but you edit eclipse.ini according to information on this page to tell
it where you've dropped the JDK you downloaded.
|
|
|
|
|
|
|
Re: Help With Re-installing Eclipse [message #1403326 is a reply to message #1403324] |
Wed, 23 July 2014 03:29 |
|
On 07/22/2014 07:27 PM, Patrick McKnew wrote:
> Patrick McKnew wrote on Mon, 21 July 2014 11:07
>> I hope what I did is right...
>> -startup
>> plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
>> --launcher.library
>> plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603
>> -1326
>> -product
>> org.eclipse.epp.package.java.product
>> --launcher.defaultAction
>> openFile
>> --launcher.XXMaxPermSize
>> 256M
>> -showsplash
>> org.eclipse.platform
>> --launcher.XXMaxPermSize
>> 256m
>> --launcher.defaultAction
>> openFile
>> --launcher.appendVmargs
>> -vm
>> C:\Program Files\Java\jdk1.8.0_11\bin\javaw.exe
>> -vmargs
>> -Dosgi.requiredJavaVersion=1.6
>> -Xms40m
>> -Xmx1024m
>>
>> But when I try to save the file, it wants to save it as a text file. I
>> believe that it should be saved as eclipse.ini, correct?
>
>
> Well, I tried to save the file as eclipse.ini with the above code and I
> get a dialog box from notepad saying "access is denied".
>
On Windows 7, you likely have installed it as if some grand application
on a path like C:\Program Files\eclipse. This is wrong-headed because
eclipse.ini is in that same folder and without asserting Administrator
rights, you can't access it.
Eclipse is a personal productivity tool.
Instead, explode Eclipse (it doesn't "install" as a real Windows
application would, but it's only unzipped into its filesystem) on a path
like C:\Users\Patrick\eclipse so that you have access to it. It's not as
if you're sharing your computer with a dozen other folk who expect to
find it in a public place.
(There is actually a way to do the latter, in a school setting, but this
is probably not your case.)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.12403 seconds