Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #36888 > unrolled thread

Can't get Eclipse to run any more

Started byRhino <no_offline_contact@example.com>
First post2017-07-13 09:33 -0400
Last post2017-07-15 12:01 -0400
Articles 11 on this page of 31 — 8 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Can't get Eclipse to run any more Rhino <no_offline_contact@example.com> - 2017-07-13 09:33 -0400
    Re: Can't get Eclipse to run any more Jerry Stuckle <jstucklex@attglobal.net> - 2017-07-13 10:28 -0400
      Re: Can't get Eclipse to run any more Rhino <no_offline_contact@example.com> - 2017-07-13 11:26 -0400
        Re: Can't get Eclipse to run any more Jerry Stuckle <jstucklex@attglobal.net> - 2017-07-13 16:02 -0400
          Re: Can't get Eclipse to run any more Rhino <no_offline_contact@example.com> - 2017-07-13 17:10 -0400
            Re: Can't get Eclipse to run any more Rhino <no_offline_contact@example.com> - 2017-07-13 18:11 -0400
              Re: Can't get Eclipse to run any more Arne Vajhøj <arne@vajhoej.dk> - 2017-07-13 18:13 -0400
                Re: Can't get Eclipse to run any more Rhino <no_offline_contact@example.com> - 2017-07-13 18:56 -0400
                  Re: Can't get Eclipse to run any more Arne Vajhøj <arne@vajhoej.dk> - 2017-07-13 19:23 -0400
                    Re: Can't get Eclipse to run any more Rhino <no_offline_contact@example.com> - 2017-07-13 22:36 -0400
                      Re: Can't get Eclipse to run any more Jerry Stuckle <jstucklex@attglobal.net> - 2017-07-13 22:44 -0400
                        Re: Can't get Eclipse to run any more Rhino <no_offline_contact@example.com> - 2017-07-14 13:53 -0400
                          Re: Can't get Eclipse to run any more Jerry Stuckle <jstucklex@attglobal.net> - 2017-07-14 14:53 -0400
                            Re: Can't get Eclipse to run any more Martin Gregorie <martin@address-in-sig.invalid> - 2017-07-14 19:18 +0000
              Re: Can't get [any jar files] to run any more Andreas Leitgeb <avl@logic.at> - 2017-07-14 07:14 +0000
                Re: Can't get [any jar files] to run any more Rhino <no_offline_contact@example.com> - 2017-07-14 14:02 -0400
                  Re: Can't get [any jar files] to run any more Eric Douglas <e.d.programmer@gmail.com> - 2017-07-14 11:06 -0700
                  Re: Can't get [any jar files] to run any more Arne Vajhøj <arne@vajhoej.dk> - 2017-07-14 14:49 -0400
                    Re: Can't get [any jar files] to run any more Rhino <no_offline_contact@example.com> - 2017-07-15 12:15 -0400
                      Re: Can't get [any jar files] to run any more Martin Gregorie <martin@address-in-sig.invalid> - 2017-07-15 19:52 +0000
                        Re: Can't get [any jar files] to run any more Rhino <no_offline_contact@example.com> - 2017-07-15 16:31 -0400
                          Re: Can't get [any jar files] to run any more Eric Douglas <e.d.programmer@gmail.com> - 2017-07-17 06:04 -0700
                            Success! [Was: Can't get [any jar files] to run any more] Rhino <no_offline_contact@example.com> - 2017-07-18 06:33 -0400
                    Success! [Was: Can't get [any jar files] to run any more] Rhino <no_offline_contact@example.com> - 2017-07-18 06:27 -0400
              Re: Can't get Eclipse to run any more Eric Douglas <e.d.programmer@gmail.com> - 2017-07-14 05:23 -0700
            Re: Can't get Eclipse to run any more v_borchert@despammed.com (Volker Borchert) - 2017-07-14 19:06 +0000
              Re: Can't get Eclipse to run any more Rhino <no_offline_contact@example.com> - 2017-07-15 12:17 -0400
    Re: Can't get Eclipse to run any more Silvio <silvio@internet.com> - 2017-07-13 18:09 +0200
      Re: Can't get Eclipse to run any more Rhino <no_offline_contact@example.com> - 2017-07-13 16:58 -0400
        Re: Can't get Eclipse to run any more Silvio <silvio@internet.com> - 2017-07-15 01:57 +0200
          Re: Can't get Eclipse to run any more Rhino <no_offline_contact@example.com> - 2017-07-15 12:01 -0400

Page 2 of 2 — ← Prev page 1 [2]


#36954 — Re: Can't get [any jar files] to run any more

FromRhino <no_offline_contact@example.com>
Date2017-07-15 16:31 -0400
SubjectRe: Can't get [any jar files] to run any more
Message-ID<okdtrf$3h4$1@dont-email.me>
In reply to#36953
On 2017-07-15 3:52 PM, Martin Gregorie wrote:
> On Sat, 15 Jul 2017 12:15:37 -0400, Rhino wrote:
> 
>> I'm game to give it a try though. Before I do, let me run something past
>> you (meaning everyone following this thread). I'm starting to think one
>> or more environment variables are messed up. I made some changes to my
>> environment variables a few days before this trouble started as a result
>> of some *other* trouble I'd been having and Eclipse worked fine after
>> that. It was only a few days later that this mysterious problem began. I
>> assumed that meant the environment variables *couldn't* be at fault. But
>> it occurs to me now that the problem began right after I rebooted
>> Windows the first time after changing the environment variables. I
>> normally just close the lid on my laptop at that end of my day rather
>> than rebooting Windows so I only end up rebooting Windows a couple of
>> times a month. I normally don't think of that much as it's never been a
>> problem. Now I'm thinking that I messed up one or more of the
>> environment variables and *this* is the actual cause of the problem! I
>> just hadn't made the connection because of the delayed Windows reboot.
>>
>> First of all, does that seem plausible? I'm afraid I've forgotten when
>> environment variable changes come into effect: is it immediately after
>> clicking on Apply as I'd thought or only after the next Windows reboot?
>> If it's the latter, that may very well be the cause of my problem.
>>
> Rule number one is *NEVER* make changes to system-level environment
> variables and the file that hold the definitions without making copies
> and putting them where they'll get backed up and can survive a cold boot.
>  
I definitely broke *that* rule ;-) Then again, this is the first time 
I've ever heard that advice given specifically for environment 
variables. Of course I have heard it many times in more general terms 
like "always back up important stuff before you make changes". It's just 
that I'd never had a significant problem like this after making 
environment variable changes so I didn't realize I was opening myself up 
to such a can of worms.

Unfortunately, it's water under the bridge. I'm still trying to figure 
out what I should do now to get things back into a state where Eclipse 
runs again.

>> Second, if the environment variable change only takes effect after a
>> Windows reboot, which variables might be the culprit? At this point,
>> nearly two weeks after touching the environment variables in the first
>> place, I've forgotten exactly which one(s) I adjusted. Can someone point
>> me to material that tells me which ones are important and how they
>> should be set for Windows 10 (64-bit) and an Eclipse that is Mars.2 or
>> newer?
>>
> I think that depends: configuration stuff that is local to a user or gets
> regenerated at login time will either 'just be there' or will get
> refreshed by logging off and on again. Anything which affects the system
> as a whole is more likely to need a reboot to take effect.
> 
> But, I can't be more specific than that because I dumped Windows for
> RedHat Linux about the time that Win95 was being dumbed down into Win98.
> 
> Dropping Windows is one of the best decisions I've ever made.
> 
I'm sympathetic to what you're saying, I really am. I was an OS/2 loyalist
for several years and would probably still be on it if IBM hadn't given 
up on it. I have some Linux experience and am not completely adverse to 
using it but the last time I considered it, there were too many things I 
couldn't do in Linux because there simply were no apps - or at least 
readily affordable apps - for functions I needed. That was several years 
back so I don't honestly remember *what* functions those were at least a 
couple of them were critical to me. I was not - and still am not - keen 
on having to have to split things I wanted to do between multiple 
computers or multiple partitions on a computer. Much of my work stuff 
can ONLY be done in Windows (and IE/Edge) so I don't have much of a 
choice right now.

But maybe I should put Linux on my spare laptop and see if I can live 
with it, at least for a development environment. I imagine there are a 
lot more apps for Linux these days.

Then again, if I try Arne's advice and just reinstall the JRE/JDK one 
more time - and try to undo the environment variable changes I made (if 
I can only remember what I did!) - maybe I'll get Eclipse working on 
Windows again.

I'm not the world's most decisive guy, especially when faced with 
several good options, each with their own pros and cons....




-- 
Rhino

[toc] | [prev] | [next] | [standalone]


#36956 — Re: Can't get [any jar files] to run any more

FromEric Douglas <e.d.programmer@gmail.com>
Date2017-07-17 06:04 -0700
SubjectRe: Can't get [any jar files] to run any more
Message-ID<2d421bb3-ba2d-46e8-863f-60cf0ee48222@googlegroups.com>
In reply to#36954
On Saturday, July 15, 2017 at 4:31:39 PM UTC-4, Rhino wrote:
> Unfortunately, it's water under the bridge. I'm still trying to figure 
> out what I should do now to get things back into a state where Eclipse 
> runs again.
> 

Uninstall all JRE and JDK from Control Panel.  Then run CCleaner should remove any lingering registry entries.
https://www.piriform.com/ccleaner/download
Finally run Windows Cleanup to make sure there are no Java references.
https://www.techspot.com/downloads/388-windows-installer-cleanup-utility.html

Then do a clean install JDK.
Then open a command window (cmd.exe) and type SET.  This will show your current environment variables.  The most important thing to check for should be PATH.  My path includes C:\ProgramData\Oracle\Java\javapath so I'm guessing you'll need that.  If you need to add to it just type set Path=newpath%Path%

> > 
> I'm sympathetic to what you're saying, I really am. I was an OS/2 loyalist
> for several years and would probably still be on it if IBM hadn't given 
> up on it. I have some Linux experience and am not completely adverse to 

Most people use Windows because most companies run clients on Windows, even if the servers run on Linux, and most new computers come with Windows.  To get any other desktop/laptop you have to build it yourself or special order it.  Now we have even more incentive to run Windows since Intel bought McAfee.  If you run 7th gen Intel chips they're specially designed to work with Windows 10.

[toc] | [prev] | [next] | [standalone]


#36968 — Success! [Was: Can't get [any jar files] to run any more]

FromRhino <no_offline_contact@example.com>
Date2017-07-18 06:33 -0400
SubjectSuccess! [Was: Can't get [any jar files] to run any more]
Message-ID<okknth$u9$1@dont-email.me>
In reply to#36956
On 2017-07-17 9:04 AM, Eric Douglas wrote:
> On Saturday, July 15, 2017 at 4:31:39 PM UTC-4, Rhino wrote:
>> Unfortunately, it's water under the bridge. I'm still trying to figure
>> out what I should do now to get things back into a state where Eclipse
>> runs again.
>>
> 
> Uninstall all JRE and JDK from Control Panel.  Then run CCleaner should remove any lingering registry entries.
> https://www.piriform.com/ccleaner/download
> Finally run Windows Cleanup to make sure there are no Java references.
> https://www.techspot.com/downloads/388-windows-installer-cleanup-utility.html
> 
> Then do a clean install JDK.
> Then open a command window (cmd.exe) and type SET.  This will show your current environment variables.  The most important thing to check for should be PATH.  My path includes C:\ProgramData\Oracle\Java\javapath so I'm guessing you'll need that.  If you need to add to it just type set Path=newpath%Path%
> 
>>>
>> I'm sympathetic to what you're saying, I really am. I was an OS/2 loyalist
>> for several years and would probably still be on it if IBM hadn't given
>> up on it. I have some Linux experience and am not completely adverse to
> 
> Most people use Windows because most companies run clients on Windows, even if the servers run on Linux, and most new computers come with Windows.  To get any other desktop/laptop you have to build it yourself or special order it.  Now we have even more incentive to run Windows since Intel bought McAfee.  If you run 7th gen Intel chips they're specially designed to work with Windows 10.
> 

Having uninstalled the JDK and JRE and then reinstalled them, my Eclipse 
is now working again as mentioned elsewhere in this thread. My jar files 
also work normally too now. Hurrah!!!!


-- 
Rhino

[toc] | [prev] | [next] | [standalone]


#36967 — Success! [Was: Can't get [any jar files] to run any more]

FromRhino <no_offline_contact@example.com>
Date2017-07-18 06:27 -0400
SubjectSuccess! [Was: Can't get [any jar files] to run any more]
Message-ID<okknj4$vub$1@dont-email.me>
In reply to#36935
On 2017-07-14 2:49 PM, Arne Vajhøj wrote:
> On 7/14/2017 2:02 PM, Rhino wrote:
>> There's no doubt that computers get messed up at times; I've seen the 
>> wrong program assigned to specific file types too very occasionally. :-)
> 
> Have you tried removing everything Java (I mean everything JDK and JRE)
> on the system and reinstall Java?
> 
> Maybe even not just use Java's own uninstall, but use a tool like
> revo uninstaller to be sure that everything is gone before
> reinstalling.
> 
Good news! I uninstalled both the JDK and JRE - as per this suggestion - 
and reinstalled.
That's all it took: my Mars.2 Eclipse is now working normally again!

I did *not* have to mess with environment variables at all. My copy of 
Eclipse Oxygen also seems to launch normally.

I'm not sure *why* this worked but I'm so grateful to be back up and 
running I don't care that much at this moment. I just want to get back 
to writing code. :-)

Thanks VERY much, Arne, for the suggestion!


-- 
Rhino

[toc] | [prev] | [next] | [standalone]


#36927

FromEric Douglas <e.d.programmer@gmail.com>
Date2017-07-14 05:23 -0700
Message-ID<4704ed13-99ba-41d8-bba3-8e0eb209d241@googlegroups.com>
In reply to#36917
On Thursday, July 13, 2017 at 6:11:45 PM UTC-4, Rhino wrote:
> On 2017-07-13 5:10 PM, Rhino wrote:
> 
> I have one more symptom to add to the list: I can't execute jars any 
> more, at least not from the desktop.
> 

That is the obvious symptom and there are only 2 answers for that.
1) As Andreas said, try open with and make sure you have a correct file association.
2) Uninstall all JREs and JDKs, delete any java exe files you can find, maybe even run a registry cleaner, and do a fresh install.

[toc] | [prev] | [next] | [standalone]


#36939

Fromv_borchert@despammed.com (Volker Borchert)
Date2017-07-14 19:06 +0000
Message-ID<okb4n6$7ab$1@Gaia.teknon.de>
In reply to#36916
Rhino wrote:
> I feel sure this is something very simple but I'm darned if I can figure 
> out what else to try.

Maybe snake oil [1] put your JDK/JRE into quarantine.

[1] a.k.a. AntiVirusSoftware

-- 

"I'm a doctor, not a mechanic." Dr Leonard McCoy <mccoy@ncc1701.starfleet.fed>
"I'm a mechanic, not a doctor." Volker Borchert  <v_borchert@despammed.com>

[toc] | [prev] | [next] | [standalone]


#36952

FromRhino <no_offline_contact@example.com>
Date2017-07-15 12:17 -0400
Message-ID<okdeul$jei$2@dont-email.me>
In reply to#36939
On 2017-07-14 3:06 PM, Volker Borchert wrote:
> Rhino wrote:
>> I feel sure this is something very simple but I'm darned if I can figure
>> out what else to try.
> 
> Maybe snake oil [1] put your JDK/JRE into quarantine.
> 
> [1] a.k.a. AntiVirusSoftware
> 
Strangely enough, Netbeans works fine with the same JDK and JRE so I'm 
pretty sure they haven't been quarantined by my AntiVirus :-)

-- 
Rhino

[toc] | [prev] | [next] | [standalone]


#36898

FromSilvio <silvio@internet.com>
Date2017-07-13 18:09 +0200
Message-ID<59679b44$0$1823$e4fe514c@newszilla.xs4all.nl>
In reply to#36888
Although not often I have experienced sudden issues with Eclipse which 
made it stop working at all.

Things that sometimes help:

- Try an ¨eclipse -clean¨ from the command-line
- Start with a fresh workspace (simply by renaming/removing the old one)
- Download the latest version and use that (mostly works and gives some 
additional benefits).

The latter is a pain since it makes you reinstall all plugins.

Good luck.

Silvio

[toc] | [prev] | [next] | [standalone]


#36915

FromRhino <no_offline_contact@example.com>
Date2017-07-13 16:58 -0400
Message-ID<ok8mmq$jtm$1@dont-email.me>
In reply to#36898
On 2017-07-13 12:09 PM, Silvio wrote:
> Although not often I have experienced sudden issues with Eclipse which 
> made it stop working at all.
> 
> Things that sometimes help:
> 
> - Try an ¨eclipse -clean¨ from the command-line
> - Start with a fresh workspace (simply by renaming/removing the old one)
> - Download the latest version and use that (mostly works and gives some 
> additional benefits).
> 
> The latter is a pain since it makes you reinstall all plugins.
> 
> Good luck.
> 

Thank you for the suggestions, Silvio.

Unfortunately, they didn't work. I tried executing the following from 
the command line while in the eclipse folder: eclipse.exe -clean
There was no change in behaviour: I just got the briefest glimpse of the 
splash screen and then it failed.

I renamed the workspace to workspacex and tried launching Eclipse again. 
Again, I just got the very brief glimpse of the splash screen and then 
it crashed again.

I've already downloaded the latest version of Eclipse, Oxygen, and 
installed it on two different drives, C: and F:, and it fails exactly as 
my Mars version failed.

Everything else on my computer works normally but Eclipse just 
completely fails to run any more and I can't get anything kind of clue 
from it why it won't run. I may have to switch to Netbeans just to get 
any work done.

This is maddening; I've NEVER had this kind of trouble from Eclipse 
before and I really don't want to abandon it.


-- 
Rhino

[toc] | [prev] | [next] | [standalone]


#36943

FromSilvio <silvio@internet.com>
Date2017-07-15 01:57 +0200
Message-ID<59695a7a$0$1807$e4fe514c@newszilla.xs4all.nl>
In reply to#36915
Sorry to hear things are still not working. But from what a read from 
your other posts it sounds like you have more of a general Java issue 
than an Eclipse related one.

I gave up on Windows over a decade ago so I am afraid I can be of little 
use there. Again, good luck with fixing things.

Cheers, Silvio

[toc] | [prev] | [next] | [standalone]


#36950

FromRhino <no_offline_contact@example.com>
Date2017-07-15 12:01 -0400
Message-ID<okde13$gbv$1@dont-email.me>
In reply to#36943
On 2017-07-14 7:57 PM, Silvio wrote:
> Sorry to hear things are still not working. But from what a read from 
> your other posts it sounds like you have more of a general Java issue 
> than an Eclipse related one.
> 
Actually, I think it's more likely that I have some messed-up 
environment variables but that's just my current working theory :-)

> I gave up on Windows over a decade ago so I am afraid I can be of little 
> use there. Again, good luck with fixing things.
> 

Thank you Silvio! I appreciate everyone's efforts to help!

-- 
Rhino

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.java.programmer


csiph-web