Help with .substring() [message #1090222] |
Mon, 19 August 2013 18:02  |
Eclipse User |
|
|
|
I've been taking online classes on java and am working on one of the assignments and am trying to use the .substring method. the rest of the program works great but when it gets to the line with the .substing the program stops and it says "source not found" and gives me the option to "edit source path lookup...". Does anyone know what this means or how to fix it? Thanks.
|
|
|
|
|
|
|
|
|
|
|
Re: Help with .substring() [message #1091466 is a reply to message #1091461] |
Wed, 21 August 2013 10:43   |
Eclipse User |
|
|
|
On 8/21/2013 8:38 AM, Greg Pugh wrote:
> On 2013-08-20 18:17:55 +0000, Russell Bateman said:
>
>> On 8/20/2013 11:40 AM, james mathison wrote:
>>> A .dmg I believe is the mac equivalent of a .iso on windows. Does that
>>> mean i downloaded the wrong thing?
>>
>> I'm not a Macintosh guy. I just played around with installing
>> jdk1.7.0_25 on a Macintosh (using the .dmg), but once finished, it was
>> totally unclear to me how to point Eclipse at it.
>>
>> At this point, I'm going to punt you to the next Mac guy who passes by.
>>
>> Sorry.
>
>
> You need to install the JDK from the .dmg file you downloaded. Double
> click the .dmg file and it should mount the dmg and display a small
> window telling you to double click the icon in the window to install the
> JDK. Once the install is done you can close the window and Eject the
> mounted dmg file.
>
> Recent Java installs for Mac are in /Library/Java/JavaVirtualMachines
> rather than the old /System/Library/... location.
So, when attaching the JDK to Eclipse via Window -> Preferences -> Java
-> Installed JREs, etc., what is the directory name to stop on? In other
words, which subdirectory after JavaVirtualMachines do I feed to the
file-open dialog asking me to "Select the root directory of the JRE
installation"?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09510 seconds