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 20 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 1 of 2  [1] 2  Next page →


#36888 — Can't get Eclipse to run any more

FromRhino <no_offline_contact@example.com>
Date2017-07-13 09:33 -0400
SubjectCan't get Eclipse to run any more
Message-ID<ok7skk$jfc$1@dont-email.me>
I've asked for help at both the Eclipse forums at eclipse.org and at 
StackExchange and answered every question I was asked but the people 
helping me haven't been able to suggest a resolution that works. I 
thought I'd ask here to see if anyone has any ideas. I really would like 
Eclipse to work again so that I don't have to deal with the learning 
curve of getting fluent with another IDE, especially right now.

Here's what I posted at StackExchange:
=====================================================

My copy of Eclipse (Mars.2) on Windows 10 stopped working this past 
Sunday (July 9, 2017) for no obvious reason. Ever since then, when I try 
to launch Eclipse, I get a very brief glimpse of the splash screen, then 
it closes. There is no new log file in the eclipse\configuration folder; 
the oldest one is several days old. There was no exit code screen like 
the ones I've seen when I had exit code 13 or exit code 1. I've got a 
single JDK in C:\Program Files and it is the latest and greatest 64-bit 
JDK (at least the download link said it was a 64-bit version. I've 
forgotten how to determine with certainty what version it is via command 
line parameters.) I've tried installing newer versions of Eclipse, 
including both a version of Neon and the latest version of Oxygen, on 
both my C: drive and my F: drive (the other logical drive on my internal 
hard drive) and all of them have the same symptoms.

I've installed a copy of Netbeans 8.2 just to see if it would install 
and work and it seems to do fine. I was able to import projects from my 
Eclipse workspace and the various bits of code seemed to import fine. I 
also wrote a very basic HelloWorld just to see if it would run and it 
did. I think that means my JDK and my Eclipse workspace are fine. But 
Eclipse still won't launch. I'm completely baffled and can't think of 
what to do to make it work again. It was just fine right up until Sunday 
morning.

Logically, you have to be suspecting I did something silly right about 
then: messed with settings that I should have left alone, deleted 
something I shouldn't have deleted or something along those lines. I 
can't think of anything I did that in retrospect seems foolish. All I 
did was reboot Windows as I periodically do. Now, Eclipse resolutely 
refuses to work and won't tell me why.

I could just abandon Eclipse and move on to Netbeans or IntelliJ or one 
of the other IDEs but I've been using Eclipse happily for some time. I 
really don't want to invest the time it's going to take to learn how to 
do all the things I do in Eclipse in another IDE. I'm hoping someone 
here can help me figure out what's wrong and get it working again.

Any ideas?

=====================================================
-- 
Rhino

[toc] | [next] | [standalone]


#36893

FromJerry Stuckle <jstucklex@attglobal.net>
Date2017-07-13 10:28 -0400
Message-ID<ok7vov$uef$2@jstuckle.eternal-september.org>
In reply to#36888
On 7/13/2017 9:33 AM, Rhino wrote:
> I've asked for help at both the Eclipse forums at eclipse.org and at
> StackExchange and answered every question I was asked but the people
> helping me haven't been able to suggest a resolution that works. I
> thought I'd ask here to see if anyone has any ideas. I really would like
> Eclipse to work again so that I don't have to deal with the learning
> curve of getting fluent with another IDE, especially right now.
> 
> Here's what I posted at StackExchange:
> =====================================================
> 
> My copy of Eclipse (Mars.2) on Windows 10 stopped working this past
> Sunday (July 9, 2017) for no obvious reason. Ever since then, when I try
> to launch Eclipse, I get a very brief glimpse of the splash screen, then
> it closes. There is no new log file in the eclipse\configuration folder;
> the oldest one is several days old. There was no exit code screen like
> the ones I've seen when I had exit code 13 or exit code 1. I've got a
> single JDK in C:\Program Files and it is the latest and greatest 64-bit
> JDK (at least the download link said it was a 64-bit version. I've
> forgotten how to determine with certainty what version it is via command
> line parameters.) I've tried installing newer versions of Eclipse,
> including both a version of Neon and the latest version of Oxygen, on
> both my C: drive and my F: drive (the other logical drive on my internal
> hard drive) and all of them have the same symptoms.
> 
> I've installed a copy of Netbeans 8.2 just to see if it would install
> and work and it seems to do fine. I was able to import projects from my
> Eclipse workspace and the various bits of code seemed to import fine. I
> also wrote a very basic HelloWorld just to see if it would run and it
> did. I think that means my JDK and my Eclipse workspace are fine. But
> Eclipse still won't launch. I'm completely baffled and can't think of
> what to do to make it work again. It was just fine right up until Sunday
> morning.
> 
> Logically, you have to be suspecting I did something silly right about
> then: messed with settings that I should have left alone, deleted
> something I shouldn't have deleted or something along those lines. I
> can't think of anything I did that in retrospect seems foolish. All I
> did was reboot Windows as I periodically do. Now, Eclipse resolutely
> refuses to work and won't tell me why.
> 
> I could just abandon Eclipse and move on to Netbeans or IntelliJ or one
> of the other IDEs but I've been using Eclipse happily for some time. I
> really don't want to invest the time it's going to take to learn how to
> do all the things I do in Eclipse in another IDE. I'm hoping someone
> here can help me figure out what's wrong and get it working again.
> 
> Any ideas?
> 
> =====================================================

Did you ask in the Eclipse support forums and/or check the Eclipse bug
list?  The people who developed the products know much more about them
than anyone else.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

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


#36897

FromRhino <no_offline_contact@example.com>
Date2017-07-13 11:26 -0400
Message-ID<ok838l$bhc$1@dont-email.me>
In reply to#36893
On 2017-07-13 10:28 AM, Jerry Stuckle wrote:
> On 7/13/2017 9:33 AM, Rhino wrote:
>> I've asked for help at both the Eclipse forums at eclipse.org and at
>> StackExchange and answered every question I was asked but the people
>> helping me haven't been able to suggest a resolution that works. I
>> thought I'd ask here to see if anyone has any ideas. I really would like
>> Eclipse to work again so that I don't have to deal with the learning
>> curve of getting fluent with another IDE, especially right now.
>>
>> Here's what I posted at StackExchange:
>> =====================================================
>>
>> My copy of Eclipse (Mars.2) on Windows 10 stopped working this past
>> Sunday (July 9, 2017) for no obvious reason. Ever since then, when I try
>> to launch Eclipse, I get a very brief glimpse of the splash screen, then
>> it closes. There is no new log file in the eclipse\configuration folder;
>> the oldest one is several days old. There was no exit code screen like
>> the ones I've seen when I had exit code 13 or exit code 1. I've got a
>> single JDK in C:\Program Files and it is the latest and greatest 64-bit
>> JDK (at least the download link said it was a 64-bit version. I've
>> forgotten how to determine with certainty what version it is via command
>> line parameters.) I've tried installing newer versions of Eclipse,
>> including both a version of Neon and the latest version of Oxygen, on
>> both my C: drive and my F: drive (the other logical drive on my internal
>> hard drive) and all of them have the same symptoms.
>>
>> I've installed a copy of Netbeans 8.2 just to see if it would install
>> and work and it seems to do fine. I was able to import projects from my
>> Eclipse workspace and the various bits of code seemed to import fine. I
>> also wrote a very basic HelloWorld just to see if it would run and it
>> did. I think that means my JDK and my Eclipse workspace are fine. But
>> Eclipse still won't launch. I'm completely baffled and can't think of
>> what to do to make it work again. It was just fine right up until Sunday
>> morning.
>>
>> Logically, you have to be suspecting I did something silly right about
>> then: messed with settings that I should have left alone, deleted
>> something I shouldn't have deleted or something along those lines. I
>> can't think of anything I did that in retrospect seems foolish. All I
>> did was reboot Windows as I periodically do. Now, Eclipse resolutely
>> refuses to work and won't tell me why.
>>
>> I could just abandon Eclipse and move on to Netbeans or IntelliJ or one
>> of the other IDEs but I've been using Eclipse happily for some time. I
>> really don't want to invest the time it's going to take to learn how to
>> do all the things I do in Eclipse in another IDE. I'm hoping someone
>> here can help me figure out what's wrong and get it working again.
>>
>> Any ideas?
>>
>> =====================================================
> 
> Did you ask in the Eclipse support forums and/or check the Eclipse bug
> list?  The people who developed the products know much more about them
> than anyone else.
> 
I direct your attention to the first sentence of my post....


-- 
Rhino

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


#36914

FromJerry Stuckle <jstucklex@attglobal.net>
Date2017-07-13 16:02 -0400
Message-ID<ok8jca$n7u$1@jstuckle.eternal-september.org>
In reply to#36897
On 7/13/2017 11:26 AM, Rhino wrote:
> On 2017-07-13 10:28 AM, Jerry Stuckle wrote:
>> On 7/13/2017 9:33 AM, Rhino wrote:
>>> I've asked for help at both the Eclipse forums at eclipse.org and at
>>> StackExchange and answered every question I was asked but the people
>>> helping me haven't been able to suggest a resolution that works. I
>>> thought I'd ask here to see if anyone has any ideas. I really would like
>>> Eclipse to work again so that I don't have to deal with the learning
>>> curve of getting fluent with another IDE, especially right now.
>>>
>>> Here's what I posted at StackExchange:
>>> =====================================================
>>>
>>> My copy of Eclipse (Mars.2) on Windows 10 stopped working this past
>>> Sunday (July 9, 2017) for no obvious reason. Ever since then, when I try
>>> to launch Eclipse, I get a very brief glimpse of the splash screen, then
>>> it closes. There is no new log file in the eclipse\configuration folder;
>>> the oldest one is several days old. There was no exit code screen like
>>> the ones I've seen when I had exit code 13 or exit code 1. I've got a
>>> single JDK in C:\Program Files and it is the latest and greatest 64-bit
>>> JDK (at least the download link said it was a 64-bit version. I've
>>> forgotten how to determine with certainty what version it is via command
>>> line parameters.) I've tried installing newer versions of Eclipse,
>>> including both a version of Neon and the latest version of Oxygen, on
>>> both my C: drive and my F: drive (the other logical drive on my internal
>>> hard drive) and all of them have the same symptoms.
>>>
>>> I've installed a copy of Netbeans 8.2 just to see if it would install
>>> and work and it seems to do fine. I was able to import projects from my
>>> Eclipse workspace and the various bits of code seemed to import fine. I
>>> also wrote a very basic HelloWorld just to see if it would run and it
>>> did. I think that means my JDK and my Eclipse workspace are fine. But
>>> Eclipse still won't launch. I'm completely baffled and can't think of
>>> what to do to make it work again. It was just fine right up until Sunday
>>> morning.
>>>
>>> Logically, you have to be suspecting I did something silly right about
>>> then: messed with settings that I should have left alone, deleted
>>> something I shouldn't have deleted or something along those lines. I
>>> can't think of anything I did that in retrospect seems foolish. All I
>>> did was reboot Windows as I periodically do. Now, Eclipse resolutely
>>> refuses to work and won't tell me why.
>>>
>>> I could just abandon Eclipse and move on to Netbeans or IntelliJ or one
>>> of the other IDEs but I've been using Eclipse happily for some time. I
>>> really don't want to invest the time it's going to take to learn how to
>>> do all the things I do in Eclipse in another IDE. I'm hoping someone
>>> here can help me figure out what's wrong and get it working again.
>>>
>>> Any ideas?
>>>
>>> =====================================================
>>
>> Did you ask in the Eclipse support forums and/or check the Eclipse bug
>> list?  The people who developed the products know much more about them
>> than anyone else.
>>
> I direct your attention to the first sentence of my post....
> 
> 

Sorry, but I haven't seen any posts with symptoms similar to yours on
the forums.  Of course, I don't monitor all of the forums, but I keep an
eye on several for hints and kinks.

Did you install something that changed your classpath by any chance?
You don't necessarily need to update the jre to cause an incompatible
change.

Is it possible your projects just grew so big you've run out of memory
in your jvm?  IIRC, the default is 1GB (1024 MB); you can change this by
starting eclipse with parameters -vmargs -Xmx<memory size>.  Try 2048M
for starters to see if that's the problem.

Silvio's suggestion on the workspace is also good.  In the past I've had
a corrupted workspace cause problems; as a result I don't automatically
load the workspace any more - I just select it at startup.  No problems
for a long time now, though.

And, of course, you can try starting it with the -debug option to see if
you get any errors that way.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

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


#36916

FromRhino <no_offline_contact@example.com>
Date2017-07-13 17:10 -0400
Message-ID<ok8nd8$rf1$1@dont-email.me>
In reply to#36914
On 2017-07-13 4:02 PM, Jerry Stuckle wrote:
> On 7/13/2017 11:26 AM, Rhino wrote:
>> On 2017-07-13 10:28 AM, Jerry Stuckle wrote:
>>> On 7/13/2017 9:33 AM, Rhino wrote:
>>>> I've asked for help at both the Eclipse forums at eclipse.org and at
>>>> StackExchange and answered every question I was asked but the people
>>>> helping me haven't been able to suggest a resolution that works. I
>>>> thought I'd ask here to see if anyone has any ideas. I really would like
>>>> Eclipse to work again so that I don't have to deal with the learning
>>>> curve of getting fluent with another IDE, especially right now.
>>>>
>>>> Here's what I posted at StackExchange:
>>>> =====================================================
>>>>
>>>> My copy of Eclipse (Mars.2) on Windows 10 stopped working this past
>>>> Sunday (July 9, 2017) for no obvious reason. Ever since then, when I try
>>>> to launch Eclipse, I get a very brief glimpse of the splash screen, then
>>>> it closes. There is no new log file in the eclipse\configuration folder;
>>>> the oldest one is several days old. There was no exit code screen like
>>>> the ones I've seen when I had exit code 13 or exit code 1. I've got a
>>>> single JDK in C:\Program Files and it is the latest and greatest 64-bit
>>>> JDK (at least the download link said it was a 64-bit version. I've
>>>> forgotten how to determine with certainty what version it is via command
>>>> line parameters.) I've tried installing newer versions of Eclipse,
>>>> including both a version of Neon and the latest version of Oxygen, on
>>>> both my C: drive and my F: drive (the other logical drive on my internal
>>>> hard drive) and all of them have the same symptoms.
>>>>
>>>> I've installed a copy of Netbeans 8.2 just to see if it would install
>>>> and work and it seems to do fine. I was able to import projects from my
>>>> Eclipse workspace and the various bits of code seemed to import fine. I
>>>> also wrote a very basic HelloWorld just to see if it would run and it
>>>> did. I think that means my JDK and my Eclipse workspace are fine. But
>>>> Eclipse still won't launch. I'm completely baffled and can't think of
>>>> what to do to make it work again. It was just fine right up until Sunday
>>>> morning.
>>>>
>>>> Logically, you have to be suspecting I did something silly right about
>>>> then: messed with settings that I should have left alone, deleted
>>>> something I shouldn't have deleted or something along those lines. I
>>>> can't think of anything I did that in retrospect seems foolish. All I
>>>> did was reboot Windows as I periodically do. Now, Eclipse resolutely
>>>> refuses to work and won't tell me why.
>>>>
>>>> I could just abandon Eclipse and move on to Netbeans or IntelliJ or one
>>>> of the other IDEs but I've been using Eclipse happily for some time. I
>>>> really don't want to invest the time it's going to take to learn how to
>>>> do all the things I do in Eclipse in another IDE. I'm hoping someone
>>>> here can help me figure out what's wrong and get it working again.
>>>>
>>>> Any ideas?
>>>>
>>>> =====================================================
>>>
>>> Did you ask in the Eclipse support forums and/or check the Eclipse bug
>>> list?  The people who developed the products know much more about them
>>> than anyone else.
>>>
>> I direct your attention to the first sentence of my post....
>>
>>
> 
> Sorry, but I haven't seen any posts with symptoms similar to yours on
> the forums.  Of course, I don't monitor all of the forums, but I keep an
> eye on several for hints and kinks.
> 
> Did you install something that changed your classpath by any chance?
> You don't necessarily need to update the jre to cause an incompatible
> change.
> 
I *did* do some messing around with JDKs and JREs - mostly just deleting 
old ones but I did tinker with environment variables a bit (but NOT 
classpath) - several days before this problem began and had some issues 
then, including exit code 1, but I cleaned those up and Eclipse was 
working fine for several days.

> Is it possible your projects just grew so big you've run out of memory
> in your jvm?  IIRC, the default is 1GB (1024 MB); you can change this by
> starting eclipse with parameters -vmargs -Xmx<memory size>.  Try 2048M
> for starters to see if that's the problem.
> 
That's an idea no one else put forward. (I found one FAQ telling me to 
make sure my hard drive isn't full and it's not even close so I was able 
to eliminate that as a possibility.)

I just went into eclipse.ini and increased the memory size from 1024M to 
2048M, then launched it via my desktop icon. It made no difference at all.

> Silvio's suggestion on the workspace is also good.  In the past I've had
> a corrupted workspace cause problems; as a result I don't automatically
> load the workspace any more - I just select it at startup.  No problems
> for a long time now, though.
> 
I tried his suggestions but they didn't work.

> And, of course, you can try starting it with the -debug option to see if
> you get any errors that way.
> 
I've tried that but I'm not getting anything displaying at the command 
prompt and no logs are getting generated either. (I'm looking in 
eclipse\configuration and the only logs in there are from several days 
before the current problem began.)

I feel sure this is something very simple but I'm darned if I can figure 
out what else to try.

-- 
Rhino

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


#36917

FromRhino <no_offline_contact@example.com>
Date2017-07-13 18:11 -0400
Message-ID<ok8qv6$jp4$1@dont-email.me>
In reply to#36916
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.

I recently downloaded a bunch of JavaFX sample apps and put them on a 
folder which I can access from my desktop. Among the sample apps are 
Ensemble.jar. Before Eclipse started giving me trouble, I could just 
click on a jar and it would launch the application in the jar and 
execute cleanly. Now, nothing happens when I click on the jars in that 
folder, nothing at all.

I've forgotten exactly what happens under the covers when you click on a 
jar - which JDK or JRE it tries to use but I only have one of each, both 
at the 1.8.0.1331 level. That should be sufficient, shouldn't it?

-- 
Rhino

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


#36918

FromArne Vajhøj <arne@vajhoej.dk>
Date2017-07-13 18:13 -0400
Message-ID<ok8rat$1kq2$2@gioia.aioe.org>
In reply to#36917
On 7/13/2017 6:11 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.
> 
> I recently downloaded a bunch of JavaFX sample apps and put them on a 
> folder which I can access from my desktop. Among the sample apps are 
> Ensemble.jar. Before Eclipse started giving me trouble, I could just 
> click on a jar and it would launch the application in the jar and 
> execute cleanly. Now, nothing happens when I click on the jars in that 
> folder, nothing at all.
> 
> I've forgotten exactly what happens under the covers when you click on a 
> jar - which JDK or JRE it tries to use but I only have one of each, both 
> at the 1.8.0.1331 level. That should be sufficient, shouldn't it?

Is JAVE_HOME\bin in PATH?

Does \Windows\System32 have the copies of java.exe, javaw.exe and 
javaws.exe,
that it is supposed to have?

Arne

PS: I assumed Windows.

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


#36919

FromRhino <no_offline_contact@example.com>
Date2017-07-13 18:56 -0400
Message-ID<ok8tir$r2a$1@dont-email.me>
In reply to#36918
On 2017-07-13 6:13 PM, Arne Vajhøj wrote:
> On 7/13/2017 6:11 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.
>>
>> I recently downloaded a bunch of JavaFX sample apps and put them on a 
>> folder which I can access from my desktop. Among the sample apps are 
>> Ensemble.jar. Before Eclipse started giving me trouble, I could just 
>> click on a jar and it would launch the application in the jar and 
>> execute cleanly. Now, nothing happens when I click on the jars in that 
>> folder, nothing at all.
>>
>> I've forgotten exactly what happens under the covers when you click on 
>> a jar - which JDK or JRE it tries to use but I only have one of each, 
>> both at the 1.8.0.1331 level. That should be sufficient, shouldn't it?
> 
> Is JAVE_HOME\bin in PATH?

I've got two environment variables name Path, one belonging to my user 
name and one for the machine. Remind me what Windows does with these? 
Does it combine them and search everywhere on both Paths? Or does it use 
the personal one when you are signed on with that ID and the other one 
the rest of the time?
> 
> Does \Windows\System32 have the copies of java.exe, javaw.exe and 
> javaws.exe,
> that it is supposed to have?

It has NONE of those files. But it's a 64-bit Windows so do those files 
need to be somewhere else in that case?

How do the files get there in the first place? I've *never* manually 
copied those files into \Windows\System32 in any Java install I've ever 
done. They usually sit in the JDK or JRE which is usually in C:\Program 
Files on a 64-bit machine. Do they need to be in Windows\System32 as well?

> 
> Arne
> 
> PS: I assumed Windows.

You assumed correctly; Windows 10 in fact :-)
-- 
Rhino

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


#36920

FromArne Vajhøj <arne@vajhoej.dk>
Date2017-07-13 19:23 -0400
Message-ID<ok8vdl$1phe$1@gioia.aioe.org>
In reply to#36919
On 7/13/2017 6:56 PM, Rhino wrote:
> On 2017-07-13 6:13 PM, Arne Vajhøj wrote:
>> On 7/13/2017 6:11 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.
>>>
>>> I recently downloaded a bunch of JavaFX sample apps and put them on a 
>>> folder which I can access from my desktop. Among the sample apps are 
>>> Ensemble.jar. Before Eclipse started giving me trouble, I could just 
>>> click on a jar and it would launch the application in the jar and 
>>> execute cleanly. Now, nothing happens when I click on the jars in 
>>> that folder, nothing at all.
>>>
>>> I've forgotten exactly what happens under the covers when you click 
>>> on a jar - which JDK or JRE it tries to use but I only have one of 
>>> each, both at the 1.8.0.1331 level. That should be sufficient, 
>>> shouldn't it?
>>
>> Is JAVE_HOME\bin in PATH?
> 
> I've got two environment variables name Path, one belonging to my user 
> name and one for the machine. Remind me what Windows does with these? 
> Does it combine them and search everywhere on both Paths? Or does it use 
> the personal one when you are signed on with that ID and the other one 
> the rest of the time?

I believe Windows merges the two to the actual used PATH.

I tend to put most stuff under the System PATH, because sometimes
things are run under a different username.

>> Does \Windows\System32 have the copies of java.exe, javaw.exe and 
>> javaws.exe,
>> that it is supposed to have?
> 
> It has NONE of those files. But it's a 64-bit Windows so do those files 
> need to be somewhere else in that case?

No. \Windows\System32 is actually the 64 bit stuff. The 32 bit stuff are
in \Windows\SysWow64. No - I don't understand the naming either.

> How do the files get there in the first place? I've *never* manually 
> copied those files into \Windows\System32 in any Java install I've ever 
> done. They usually sit in the JDK or JRE which is usually in C:\Program 
> Files on a 64-bit machine. Do they need to be in Windows\System32 as well?

Years ago the Java install seemed to copy the files to that dir.

For the last many installs that does no longer seem to happen. And
every time I have updated Java I manually copy them over (I copy
from JDK bin, but it should not matter whether they are copied
from JDK or JRE bin).

Arne

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


#36923

FromRhino <no_offline_contact@example.com>
Date2017-07-13 22:36 -0400
Message-ID<ok9aft$ove$1@dont-email.me>
In reply to#36920
On 2017-07-13 7:23 PM, Arne Vajhøj wrote:
> On 7/13/2017 6:56 PM, Rhino wrote:
>> On 2017-07-13 6:13 PM, Arne Vajhøj wrote:
>>> On 7/13/2017 6:11 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.
>>>>
>>>> I recently downloaded a bunch of JavaFX sample apps and put them on 
>>>> a folder which I can access from my desktop. Among the sample apps 
>>>> are Ensemble.jar. Before Eclipse started giving me trouble, I could 
>>>> just click on a jar and it would launch the application in the jar 
>>>> and execute cleanly. Now, nothing happens when I click on the jars 
>>>> in that folder, nothing at all.
>>>>
>>>> I've forgotten exactly what happens under the covers when you click 
>>>> on a jar - which JDK or JRE it tries to use but I only have one of 
>>>> each, both at the 1.8.0.1331 level. That should be sufficient, 
>>>> shouldn't it?
>>>
Sorry, that should be a JDK and a JRE at the *1.8.0.131* level.

>>> Is JAVE_HOME\bin in PATH?

When I checked the value of JAVA_HOME via echo %JAVA_HOME% at a Windows 
command prompt, I found that it was C:\Program Files\Java\jdk1.8.0_131.

When I looked at the Path environment variable (the System one), 
JAVA_HOME\bin was NOT there. *However*, the very first thing in Path 
was: C:\ProgramData\Oracle\Java\javapath.

I had a look in *that* directory and guess what I found? A copy of each 
of java.exe, javaw.exe and javaws.exe! I'm wondering if this arrangement 
eliminates the need to have copies of those same programs in 
Windows\System32??

>>
>> I've got two environment variables name Path, one belonging to my user 
>> name and one for the machine. Remind me what Windows does with these? 
>> Does it combine them and search everywhere on both Paths? Or does it 
>> use the personal one when you are signed on with that ID and the other 
>> one the rest of the time?
> 
> I believe Windows merges the two to the actual used PATH.
> 
> I tend to put most stuff under the System PATH, because sometimes
> things are run under a different username.
> 
>>> Does \Windows\System32 have the copies of java.exe, javaw.exe and 
>>> javaws.exe,
>>> that it is supposed to have?
>>
>> It has NONE of those files. But it's a 64-bit Windows so do those 
>> files need to be somewhere else in that case?
> 
> No. \Windows\System32 is actually the 64 bit stuff. The 32 bit stuff are
> in \Windows\SysWow64. No - I don't understand the naming either.
> 
I copied java.exe, javaw.exe and javaws.exe into the \System32 folder 
just to be sure that the absence of those files in that folder was not 
the problem.

Now, I haven't rebooted but that shouldn't be necessary should it? Or 
does Windows not see additions to the library unless I reboot?

Maybe I *should* reboot because putting those three .exe files in 
\System32 did NOT help. Okay, I'll reboot, try Eclipse again, then 
finish this draft post.

I'm back from the reboot and Eclipse *still* isn't working.

>> How do the files get there in the first place? I've *never* manually 
>> copied those files into \Windows\System32 in any Java install I've 
>> ever done. They usually sit in the JDK or JRE which is usually in 
>> C:\Program Files on a 64-bit machine. Do they need to be in 
>> Windows\System32 as well?
> 
> Years ago the Java install seemed to copy the files to that dir.
> 
> For the last many installs that does no longer seem to happen. And
> every time I have updated Java I manually copy them over (I copy
> from JDK bin, but it should not matter whether they are copied
> from JDK or JRE bin).
> 
I have a feeling they've rearranged things somewhat for Windows 10.


-- 
Rhino

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


#36924

FromJerry Stuckle <jstucklex@attglobal.net>
Date2017-07-13 22:44 -0400
Message-ID<ok9auk$pme$1@jstuckle.eternal-september.org>
In reply to#36923
On 7/13/2017 10:36 PM, Rhino wrote:
> On 2017-07-13 7:23 PM, Arne Vajhøj wrote:
>> On 7/13/2017 6:56 PM, Rhino wrote:
>>> On 2017-07-13 6:13 PM, Arne Vajhøj wrote:
>>>> On 7/13/2017 6:11 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.
>>>>>
>>>>> I recently downloaded a bunch of JavaFX sample apps and put them on
>>>>> a folder which I can access from my desktop. Among the sample apps
>>>>> are Ensemble.jar. Before Eclipse started giving me trouble, I could
>>>>> just click on a jar and it would launch the application in the jar
>>>>> and execute cleanly. Now, nothing happens when I click on the jars
>>>>> in that folder, nothing at all.
>>>>>
>>>>> I've forgotten exactly what happens under the covers when you click
>>>>> on a jar - which JDK or JRE it tries to use but I only have one of
>>>>> each, both at the 1.8.0.1331 level. That should be sufficient,
>>>>> shouldn't it?
>>>>
> Sorry, that should be a JDK and a JRE at the *1.8.0.131* level.
> 
>>>> Is JAVE_HOME\bin in PATH?
> 
> When I checked the value of JAVA_HOME via echo %JAVA_HOME% at a Windows
> command prompt, I found that it was C:\Program Files\Java\jdk1.8.0_131.
> 
> When I looked at the Path environment variable (the System one),
> JAVA_HOME\bin was NOT there. *However*, the very first thing in Path
> was: C:\ProgramData\Oracle\Java\javapath.
> 
> I had a look in *that* directory and guess what I found? A copy of each
> of java.exe, javaw.exe and javaws.exe! I'm wondering if this arrangement
> eliminates the need to have copies of those same programs in
> Windows\System32??
> 
>>>
>>> I've got two environment variables name Path, one belonging to my
>>> user name and one for the machine. Remind me what Windows does with
>>> these? Does it combine them and search everywhere on both Paths? Or
>>> does it use the personal one when you are signed on with that ID and
>>> the other one the rest of the time?
>>
>> I believe Windows merges the two to the actual used PATH.
>>
>> I tend to put most stuff under the System PATH, because sometimes
>> things are run under a different username.
>>
>>>> Does \Windows\System32 have the copies of java.exe, javaw.exe and
>>>> javaws.exe,
>>>> that it is supposed to have?
>>>
>>> It has NONE of those files. But it's a 64-bit Windows so do those
>>> files need to be somewhere else in that case?
>>
>> No. \Windows\System32 is actually the 64 bit stuff. The 32 bit stuff are
>> in \Windows\SysWow64. No - I don't understand the naming either.
>>
> I copied java.exe, javaw.exe and javaws.exe into the \System32 folder
> just to be sure that the absence of those files in that folder was not
> the problem.
> 
> Now, I haven't rebooted but that shouldn't be necessary should it? Or
> does Windows not see additions to the library unless I reboot?
> 
> Maybe I *should* reboot because putting those three .exe files in
> \System32 did NOT help. Okay, I'll reboot, try Eclipse again, then
> finish this draft post.
> 
> I'm back from the reboot and Eclipse *still* isn't working.
> 
>>> How do the files get there in the first place? I've *never* manually
>>> copied those files into \Windows\System32 in any Java install I've
>>> ever done. They usually sit in the JDK or JRE which is usually in
>>> C:\Program Files on a 64-bit machine. Do they need to be in
>>> Windows\System32 as well?
>>
>> Years ago the Java install seemed to copy the files to that dir.
>>
>> For the last many installs that does no longer seem to happen. And
>> every time I have updated Java I manually copy them over (I copy
>> from JDK bin, but it should not matter whether they are copied
>> from JDK or JRE bin).
>>
> I have a feeling they've rearranged things somewhat for Windows 10.
> 
> 

Are you sure those files are the version you think they are?  A version
mismatch between the .exe and the classpath files can cause similar
symptoms.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

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


#36930

FromRhino <no_offline_contact@example.com>
Date2017-07-14 13:53 -0400
Message-ID<okb06m$qqf$1@dont-email.me>
In reply to#36924
On 2017-07-13 10:44 PM, Jerry Stuckle wrote:
> On 7/13/2017 10:36 PM, Rhino wrote:
>> On 2017-07-13 7:23 PM, Arne Vajhøj wrote:
>>> On 7/13/2017 6:56 PM, Rhino wrote:
>>>> On 2017-07-13 6:13 PM, Arne Vajhøj wrote:
>>>>> On 7/13/2017 6:11 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.
>>>>>>
>>>>>> I recently downloaded a bunch of JavaFX sample apps and put them on
>>>>>> a folder which I can access from my desktop. Among the sample apps
>>>>>> are Ensemble.jar. Before Eclipse started giving me trouble, I could
>>>>>> just click on a jar and it would launch the application in the jar
>>>>>> and execute cleanly. Now, nothing happens when I click on the jars
>>>>>> in that folder, nothing at all.
>>>>>>
>>>>>> I've forgotten exactly what happens under the covers when you click
>>>>>> on a jar - which JDK or JRE it tries to use but I only have one of
>>>>>> each, both at the 1.8.0.1331 level. That should be sufficient,
>>>>>> shouldn't it?
>>>>>
>> Sorry, that should be a JDK and a JRE at the *1.8.0.131* level.
>>
>>>>> Is JAVE_HOME\bin in PATH?
>>
>> When I checked the value of JAVA_HOME via echo %JAVA_HOME% at a Windows
>> command prompt, I found that it was C:\Program Files\Java\jdk1.8.0_131.
>>
>> When I looked at the Path environment variable (the System one),
>> JAVA_HOME\bin was NOT there. *However*, the very first thing in Path
>> was: C:\ProgramData\Oracle\Java\javapath.
>>
>> I had a look in *that* directory and guess what I found? A copy of each
>> of java.exe, javaw.exe and javaws.exe! I'm wondering if this arrangement
>> eliminates the need to have copies of those same programs in
>> Windows\System32??
>>
>>>>
>>>> I've got two environment variables name Path, one belonging to my
>>>> user name and one for the machine. Remind me what Windows does with
>>>> these? Does it combine them and search everywhere on both Paths? Or
>>>> does it use the personal one when you are signed on with that ID and
>>>> the other one the rest of the time?
>>>
>>> I believe Windows merges the two to the actual used PATH.
>>>
>>> I tend to put most stuff under the System PATH, because sometimes
>>> things are run under a different username.
>>>
>>>>> Does \Windows\System32 have the copies of java.exe, javaw.exe and
>>>>> javaws.exe,
>>>>> that it is supposed to have?
>>>>
>>>> It has NONE of those files. But it's a 64-bit Windows so do those
>>>> files need to be somewhere else in that case?
>>>
>>> No. \Windows\System32 is actually the 64 bit stuff. The 32 bit stuff are
>>> in \Windows\SysWow64. No - I don't understand the naming either.
>>>
>> I copied java.exe, javaw.exe and javaws.exe into the \System32 folder
>> just to be sure that the absence of those files in that folder was not
>> the problem.
>>
>> Now, I haven't rebooted but that shouldn't be necessary should it? Or
>> does Windows not see additions to the library unless I reboot?
>>
>> Maybe I *should* reboot because putting those three .exe files in
>> \System32 did NOT help. Okay, I'll reboot, try Eclipse again, then
>> finish this draft post.
>>
>> I'm back from the reboot and Eclipse *still* isn't working.
>>
>>>> How do the files get there in the first place? I've *never* manually
>>>> copied those files into \Windows\System32 in any Java install I've
>>>> ever done. They usually sit in the JDK or JRE which is usually in
>>>> C:\Program Files on a 64-bit machine. Do they need to be in
>>>> Windows\System32 as well?
>>>
>>> Years ago the Java install seemed to copy the files to that dir.
>>>
>>> For the last many installs that does no longer seem to happen. And
>>> every time I have updated Java I manually copy them over (I copy
>>> from JDK bin, but it should not matter whether they are copied
>>> from JDK or JRE bin).
>>>
>> I have a feeling they've rearranged things somewhat for Windows 10.
>>
>>
> 
> Are you sure those files are the version you think they are?  A version
> mismatch between the .exe and the classpath files can cause similar
> symptoms.
> 
I think they have to be the right versions because the dates on the 
three Java .exe files are July 3 2017 which is when I installed that JDK 
and JRE. (I removed the old JDKs and JREs at the same time.) Is there 
any way to interrogate the .exe files to be sure?

Even if some files are the wrong version, shouldn't I be getting some 
kind of message SOMEWHERE to tell me what's wrong? If I wrote an IDE 
that counted on certain things being present before it could start, I'd 
have my code look for those things and, if things weren't satisfactory, 
I'd notify the user what was wrong; I wouldn't just fail silently 
without leaving a clue.

The only place I know to look is the command prompt itself (when 
launching from a command prompt) and the eclipse\configuration folder 
for .log files. Is there somewhere else that might have error messages 
that would tell me what's going on here?

-- 
Rhino

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


#36937

FromJerry Stuckle <jstucklex@attglobal.net>
Date2017-07-14 14:53 -0400
Message-ID<okb3n7$4o4$2@jstuckle.eternal-september.org>
In reply to#36930
On 7/14/2017 1:53 PM, Rhino wrote:
> On 2017-07-13 10:44 PM, Jerry Stuckle wrote:
>> On 7/13/2017 10:36 PM, Rhino wrote:
>>> On 2017-07-13 7:23 PM, Arne Vajhøj wrote:
>>>> On 7/13/2017 6:56 PM, Rhino wrote:
>>>>> On 2017-07-13 6:13 PM, Arne Vajhøj wrote:
>>>>>> On 7/13/2017 6:11 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.
>>>>>>>
>>>>>>> I recently downloaded a bunch of JavaFX sample apps and put them on
>>>>>>> a folder which I can access from my desktop. Among the sample apps
>>>>>>> are Ensemble.jar. Before Eclipse started giving me trouble, I could
>>>>>>> just click on a jar and it would launch the application in the jar
>>>>>>> and execute cleanly. Now, nothing happens when I click on the jars
>>>>>>> in that folder, nothing at all.
>>>>>>>
>>>>>>> I've forgotten exactly what happens under the covers when you click
>>>>>>> on a jar - which JDK or JRE it tries to use but I only have one of
>>>>>>> each, both at the 1.8.0.1331 level. That should be sufficient,
>>>>>>> shouldn't it?
>>>>>>
>>> Sorry, that should be a JDK and a JRE at the *1.8.0.131* level.
>>>
>>>>>> Is JAVE_HOME\bin in PATH?
>>>
>>> When I checked the value of JAVA_HOME via echo %JAVA_HOME% at a Windows
>>> command prompt, I found that it was C:\Program Files\Java\jdk1.8.0_131.
>>>
>>> When I looked at the Path environment variable (the System one),
>>> JAVA_HOME\bin was NOT there. *However*, the very first thing in Path
>>> was: C:\ProgramData\Oracle\Java\javapath.
>>>
>>> I had a look in *that* directory and guess what I found? A copy of each
>>> of java.exe, javaw.exe and javaws.exe! I'm wondering if this arrangement
>>> eliminates the need to have copies of those same programs in
>>> Windows\System32??
>>>
>>>>>
>>>>> I've got two environment variables name Path, one belonging to my
>>>>> user name and one for the machine. Remind me what Windows does with
>>>>> these? Does it combine them and search everywhere on both Paths? Or
>>>>> does it use the personal one when you are signed on with that ID and
>>>>> the other one the rest of the time?
>>>>
>>>> I believe Windows merges the two to the actual used PATH.
>>>>
>>>> I tend to put most stuff under the System PATH, because sometimes
>>>> things are run under a different username.
>>>>
>>>>>> Does \Windows\System32 have the copies of java.exe, javaw.exe and
>>>>>> javaws.exe,
>>>>>> that it is supposed to have?
>>>>>
>>>>> It has NONE of those files. But it's a 64-bit Windows so do those
>>>>> files need to be somewhere else in that case?
>>>>
>>>> No. \Windows\System32 is actually the 64 bit stuff. The 32 bit stuff
>>>> are
>>>> in \Windows\SysWow64. No - I don't understand the naming either.
>>>>
>>> I copied java.exe, javaw.exe and javaws.exe into the \System32 folder
>>> just to be sure that the absence of those files in that folder was not
>>> the problem.
>>>
>>> Now, I haven't rebooted but that shouldn't be necessary should it? Or
>>> does Windows not see additions to the library unless I reboot?
>>>
>>> Maybe I *should* reboot because putting those three .exe files in
>>> \System32 did NOT help. Okay, I'll reboot, try Eclipse again, then
>>> finish this draft post.
>>>
>>> I'm back from the reboot and Eclipse *still* isn't working.
>>>
>>>>> How do the files get there in the first place? I've *never* manually
>>>>> copied those files into \Windows\System32 in any Java install I've
>>>>> ever done. They usually sit in the JDK or JRE which is usually in
>>>>> C:\Program Files on a 64-bit machine. Do they need to be in
>>>>> Windows\System32 as well?
>>>>
>>>> Years ago the Java install seemed to copy the files to that dir.
>>>>
>>>> For the last many installs that does no longer seem to happen. And
>>>> every time I have updated Java I manually copy them over (I copy
>>>> from JDK bin, but it should not matter whether they are copied
>>>> from JDK or JRE bin).
>>>>
>>> I have a feeling they've rearranged things somewhat for Windows 10.
>>>
>>>
>>
>> Are you sure those files are the version you think they are?  A version
>> mismatch between the .exe and the classpath files can cause similar
>> symptoms.
>>
> I think they have to be the right versions because the dates on the
> three Java .exe files are July 3 2017 which is when I installed that JDK
> and JRE. (I removed the old JDKs and JREs at the same time.) Is there
> any way to interrogate the .exe files to be sure?
> 
> Even if some files are the wrong version, shouldn't I be getting some
> kind of message SOMEWHERE to tell me what's wrong? If I wrote an IDE
> that counted on certain things being present before it could start, I'd
> have my code look for those things and, if things weren't satisfactory,
> I'd notify the user what was wrong; I wouldn't just fail silently
> without leaving a clue.
> 
> The only place I know to look is the command prompt itself (when
> launching from a command prompt) and the eclipse\configuration folder
> for .log files. Is there somewhere else that might have error messages
> that would tell me what's going on here?
> 

Look at the command line parms - something like -v or --version or
similar - I don't remember for the java files offhand.

And no, if the classlibs can't be loaded for some reason, there might
not be anything to write a log.  The jre doesn't do much by itself.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

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


#36938

FromMartin Gregorie <martin@address-in-sig.invalid>
Date2017-07-14 19:18 +0000
Message-ID<okb5dl$bpg$1@dont-email.me>
In reply to#36937
On Fri, 14 Jul 2017 14:53:45 -0400, Jerry Stuckle wrote:

> On 7/14/2017 1:53 PM, Rhino wrote:
>> I think they have to be the right versions because the dates on the
>> three Java .exe files are July 3 2017 which is when I installed that
>> JDK and JRE. (I removed the old JDKs and JREs at the same time.) Is
>> there any way to interrogate the .exe files to be sure?
>>
Are the file sizes the same as well?
 
> Look at the command line parms - something like -v or --version or
> similar - I don't remember for the java files offhand.
>
Its  "java -version" under Linux and IIRC that also works under Windows.
 

-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

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


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

FromAndreas Leitgeb <avl@logic.at>
Date2017-07-14 07:14 +0000
SubjectRe: Can't get [any jar files] to run any more
Message-ID<slrnomgs1i.o2q.avl@logic.at>
In reply to#36917
Rhino <no_offline_contact@example.com> wrote:
> I have one more symptom to add to the list: I can't execute jars any 
> more, at least not from the desktop.

I don't have any windows here, let alone 10, so dunno if
it applies to W10...

if you right click the jar files and pick "open with ..."
what does it offer?

maybe you accidentally changed the association from
javaw.exe to java.exe, which could lead to similar
problems.

if the open with doesn't tell you, you might search the registry
for "jar"...

I once saw a machine that insisted on opening .jnlp files
with adobe acrobat, so maybe it might be a similar thing 
with your .jar files.

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


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

FromRhino <no_offline_contact@example.com>
Date2017-07-14 14:02 -0400
SubjectRe: Can't get [any jar files] to run any more
Message-ID<okb0ob$sn7$1@dont-email.me>
In reply to#36926
On 2017-07-14 3:14 AM, Andreas Leitgeb wrote:
> Rhino <no_offline_contact@example.com> wrote:
>> I have one more symptom to add to the list: I can't execute jars any
>> more, at least not from the desktop.
> 
> I don't have any windows here, let alone 10, so dunno if
> it applies to W10...
> 
> if you right click the jar files and pick "open with ..."
> what does it offer?
> 
I just tried it and Windows asked "How would you like to open this file? 
Keep using this program - Java Platform SE Binary - or Look for an app 
in the store.

That's what I should get, right? I haven't checked to see the Open 
With... options on a jar in ages so I don't even remember what I should 
see there.

> maybe you accidentally changed the association from
> javaw.exe to java.exe, which could lead to similar
> problems.
> 
> if the open with doesn't tell you, you might search the registry
> for "jar"...
> 
> I once saw a machine that insisted on opening .jnlp files
> with adobe acrobat, so maybe it might be a similar thing
> with your .jar files.
> 
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. :-)

-- 
Rhino

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


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

FromEric Douglas <e.d.programmer@gmail.com>
Date2017-07-14 11:06 -0700
SubjectRe: Can't get [any jar files] to run any more
Message-ID<f08d2d8b-1aac-4cb6-baf2-4085b91a4af8@googlegroups.com>
In reply to#36931
On Friday, July 14, 2017 at 2:02:45 PM UTC-4, Rhino wrote:
> 
> That's what I should get, right? I haven't checked to see the Open 
> With... options on a jar in ages so I don't even remember what I should 
> see there.
> 

If I right click a jar, it shows "Keep using Java(TM) Platform SE Binary", but if there's any doubt select choose other program and browse to the javaw.exe in the Program Files\Java path.

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


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

FromArne Vajhøj <arne@vajhoej.dk>
Date2017-07-14 14:49 -0400
SubjectRe: Can't get [any jar files] to run any more
Message-ID<okb3n9$lo8$1@gioia.aioe.org>
In reply to#36931
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.

Arne

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


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

FromRhino <no_offline_contact@example.com>
Date2017-07-15 12:15 -0400
SubjectRe: Can't get [any jar files] to run any more
Message-ID<okdert$jei$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?
> 
I feel like that's how I got into this mess in the first place! :-)

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.

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?

> 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.
> 
I'm not familiar with Revo uninstaller but I'll hunt it down and try
if someone tells me the environment variables aren't the likely source
of my problem. :-)


-- 
Rhino

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


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

FromMartin Gregorie <martin@address-in-sig.invalid>
Date2017-07-15 19:52 +0000
SubjectRe: Can't get [any jar files] to run any more
Message-ID<okdrp1$qhe$1@dont-email.me>
In reply to#36951
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.
 
> 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. 


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

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


Page 1 of 2  [1] 2  Next page →

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


csiph-web