Terminator keeps crshing, all of a sudden!

125 views
Skip to first unread message

Richards, Thomas

unread,
Nov 17, 2009, 3:00:31 AM11/17/09
to terminat...@googlegroups.com

I am using Fedora 11 x86_64.

 

I have been using terminator without incident for the past year.

I am using it with:

 

03:00 Tue Nov 17 root:~ $ java -version

java version "1.6.0_0"

OpenJDK Runtime Environment (IcedTea6 1.6) (fedora-30.b16.fc11-x86_64)

OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

 

I hope you don’t tell me to install Sun Java.

Anyway, recently without warning I get this upon clicking on a terminator window:

 

Uncaught exception

 

An error occurred in Terminator:

 

Exception RuntimeError: Java failed with #<Process::Status: pid=5208,exited(1)>

 

Command line was:

java -Xmx1g -Dorg.jessies.libraryDirectories=/usr/share/software.jessies.org/terminator/Resources/terminator/.generated/amd64_Linux/lib:/usr/share/software.jessies.org/terminator/Resources/salma-hayek/.generated/amd64_Linux/lib -Dorg.jessies.binaryDirectory=/usr/share/software.jessies.org/terminator/Resources/salma-hayek/.generated/amd64_Linux/bin -Dorg.jessies.terminator.dotDirectory=/home/richards/.terminator -Dorg.jessies.terminator.logDirectory=/home/richards/.terminator/logs -Dorg.jessies.terminator.serverPortFileName=/home/richards/.terminator/terminator-server-port_0.0 -Dorg.jessies.terminator.optionsFile=/home/richards/.terminator/options -De.gui.HelpMenu.hasManual=true -De.gui.HelpMenu.supportAddress=terminat...@googlegroups.com -De.gui.HelpMenu.supportSite=http://groups.google.com/group/terminator-users -Djava.class.path=/usr/share/software.jessies.org/terminator/Resources/terminator/.generated/classes.jar:/usr/share/software.jessies.org/terminator/Resources/terminator/.generated/classes:/usr/share/software.jessies.org/terminator/Resources/salma-hayek/.generated/classes:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar:/usr/share/software.jessies.org/terminator/Resources/salma-hayek/lib/jars/AppleJavaExtensions.jar:/usr/share/software.jessies.org/terminator/Resources/salma-hayek/lib/jars/swing-worker-1.2.jar -Dgnome.DESKTOP_STARTUP_ID=gnome-panel-2565-Richards-terminator-6_TIME7120686 -De.util.Log.filename=/home/richards/.terminator/logs/terminator-5191.log -De.util.Log.applicationName=Terminator -Dorg.jessies.aboutBoxIcon=/usr/share/software.jessies.org/terminator/Resources/terminator/lib/terminator-128.png -Dorg.jessies.frameIcon=/usr/share/software.jessies.org/terminator/Resources/terminator/lib/terminator-32.png -Dorg.jessies.projectRoot=/usr/share/software.jessies.org/terminator/Resources/terminator -Djava.awt.Window.locationByPlatform=true -Dswing.boldMetal=false terminator/Terminator

 

                at /usr/share/software.jessies.org/terminator/Resources/salma-hayek/bin/invoke-java.rb:459:in `launch'

                at /usr/bin/terminator:97:in `launch0'

                at /usr/bin/terminator:21:in `launch'

                at /usr/share/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:122:in `call'

                at /usr/share/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:122:in `initialize'

                at /usr/share/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:134:in `new'

                at /usr/share/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:134:in `report_exceptions'

                at /usr/bin/terminator:21:in `launch'

                at /usr/bin/terminator:214

Martin Dorey

unread,
Nov 17, 2009, 11:43:02 AM11/17/09
to terminat...@googlegroups.com

Does this file contain any clue?

 

/home/richards/.terminator/logs/terminator-5191.log

 


Martin Dorey

unread,
Nov 17, 2009, 11:43:54 AM11/17/09
to Richards, Thomas, terminat...@googlegroups.com

(Again, this time with the OP.)

 

Does this file contain any clue?

 

/home/richards/.terminator/logs/terminator-5191.log

 


From: terminat...@googlegroups.com [mailto:terminat...@googlegroups.com] On Behalf Of Richards, Thomas
Sent: Tuesday, November 17, 2009 00:01
To: terminat...@googlegroups.com
Subject: [terminator-users] Terminator keeps crshing, all of a sudden!

 

I am using Fedora 11 x86_64.

Elliott Hughes

unread,
Nov 17, 2009, 1:28:59 PM11/17/09
to terminat...@googlegroups.com, Richards, Thomas
also, have you tried Sun's JVM? knowing that it works on one but not on
the other would be a good clue.

none of us (afaik) use an OpenJDK-derived JVM because they're too buggy,
one way or another for non-headless work. font metrics in particular seem
to be impressively broken. i personally gave up using Sun's OpenJDK builds
recently because they've been crashing more and more and i haven't even
been able to get them to accept bug reports for those crashes.

--elliott
--
Elliott Hughes, http://www.jessies.org/~enh/


Martin Dorey

unread,
Nov 17, 2009, 3:55:38 PM11/17/09
to terminat...@googlegroups.com, Richards, Thomas
> also, have you tried Sun's JVM?

That doesn't mean that you'd need to configure Sun's Jvm as your system default. Having it temporarily ahead of any other "java" on your PATH in the window where you run "terminator" would be enough.

That said, I'd hope we wouldn't report "exited(1)" for a Jvm crash, so I'm holding out more hope for the log.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "terminator-users" group.
To post to this group, send email to terminat...@googlegroups.com
To unsubscribe from this group, send email to terminator-use...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/terminator-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Martin Dorey

unread,
Nov 18, 2009, 7:25:12 PM11/18/09
to Richards, Thomas, Elliott Hughes, terminat...@googlegroups.com

When the selection is text, we count the characters in it to provide on the popup menu.  If it's numerical, we provide it in different bases.

 

>                 at terminator.view.TerminatorMenuItemProvider.getSystemSelection(TerminatorMenuItemProvider.java:78)

 

The message is coming from this code:

 

            private String getSystemSelection() {

                        String result = "";

                        try {

                                    Clipboard selection = terminalPane.getToolkit().getSystemSelection();

                                    if (selection == null) {

                                                selection = terminalPane.getToolkit().getSystemClipboard();

                                    }

                                    Transferable transferable = selection.getContents(null);

                                    result = (String) transferable.getTransferData(DataFlavor.stringFlavor);

                        } catch (Exception ex) {

                                    Log.warn("Couldn't get system selection", ex);

                        }

                        return result;

            }

 

That traps the exception and returns an empty string.  It logs it, because we've had problems operating with other programs before.  These have usually turned out to be bugs in the other program.  Perhaps it's time to silence the warning.

 

> Terminator seems to have thrown the same exception many, many times during the same session and then finally crashed.

 

Given that exception is cleanly handled, the crash must have been something else, so perhaps the end of the log is actually the more interesting part (though usually the start of the problem is the key).  I'm certainly open to large attachments, if there's nothing confidential in there.

 


From: Richards, Thomas [mailto:Ric...@UPMC.EDU]
Sent: Wednesday, November 18, 2009 16:12
To: Martin Dorey; Elliott Hughes
Cc: terminat...@googlegroups.com
Subject: RE: Terminator keeps crshing, all of a sudden!

 

Thanks for the suggestions, Martin and Elliott.

 

Terminator seems to have thrown the same exception many, many times during the same session and then finally crashed.

I truncated the output to two instances of this “failure to get system selection”.

There are perhaps 50 such instances in all.

I was pasting commands into a running program.

 

In the meantime I did uninstall OpenJDK and install Sun JRE.

So far I have had no problems but I look forward to your interpretations of the log file below.

Terminator has improved my work immensely with its beautiful wide scrolling display and I sincerely hope it never crashes again for me with this better set-up.

 

Tom

 

2009-11-16T09:07:25.550-0500 Terminator: Java 1.6.0_0 (VM 14.0-b16, runtime 1.6.0_0-b16)

2009-11-16T09:07:25.555-0500 Terminator: Linux 2.6.30.9-96.fc11.x86_64/amd64 x2

2009-11-16T09:07:25.555-0500 Terminator: Revision 1568 (3135)

2009-11-16T09:07:25.555-0500 Terminator: Built 2009-07-22T09:25:48-07:00

2009-11-16T09:07:26.223-0500 Terminator: Created PtyProcess[pid=5231,fd=34,pty="/dev/pts/2"] and logging to /home/richards/.terminator/logs/2009-11-16T090726.207-0500-%2Fbin%2Fbash.txt

2009-11-16T09:07:26.530-0500 Terminator: echo localhost:42243 > /home/richards/.terminator/terminator-server-port_0.0

2009-11-16T09:18:16.229-0500 Terminator: Couldn't get system selection

Associated exception:

java.awt.datatransfer.UnsupportedFlavorException: Unicode String

                at sun.awt.datatransfer.ClipboardTransferable.getTransferData(ClipboardTransferable.java:160)

                at terminator.view.TerminatorMenuItemProvider.getSystemSelection(TerminatorMenuItemProvider.java:78)

                at terminator.view.TerminatorMenuItemProvider.addInfoItems(TerminatorMenuItemProvider.java:46)

                at terminator.view.TerminatorMenuItemProvider.provideMenuItems(TerminatorMenuItemProvider.java:40)

                at terminator.view.JTerminalPane$1.provideMenuItems(JTerminalPane.java:134)

                at e.gui.EPopupMenu.showPopupMenu(EPopupMenu.java:144)

                at e.gui.EPopupMenu.access$300(EPopupMenu.java:15)

                at e.gui.EPopupMenu$2.run(EPopupMenu.java:130)

                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)

                at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)

                at e.debug.EventDispatchThreadHangMonitor.dispatchEvent(EventDispatchThreadHangMonitor.java:191)

                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)

                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)

                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

2009-11-16T10:01:59.894-0500 Terminator: Couldn't get system selection

Associated exception:

java.awt.datatransfer.UnsupportedFlavorException: Unicode String

                at sun.awt.datatransfer.ClipboardTransferable.getTransferData(ClipboardTransferable.java:160)

                at terminator.view.TerminatorMenuItemProvider.getSystemSelection(TerminatorMenuItemProvider.java:78)

                at terminator.view.TerminatorMenuItemProvider.addInfoItems(TerminatorMenuItemProvider.java:46)

                at terminator.view.TerminatorMenuItemProvider.provideMenuItems(TerminatorMenuItemProvider.java:40)

                at terminator.view.JTerminalPane$1.provideMenuItems(JTerminalPane.java:134)

                at e.gui.EPopupMenu.showPopupMenu(EPopupMenu.java:144)

                at e.gui.EPopupMenu.access$300(EPopupMenu.java:15)

                at e.gui.EPopupMenu$2.run(EPopupMenu.java:130)

                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)

                at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)

                at e.debug.EventDispatchThreadHangMonitor.dispatchEvent(EventDispatchThreadHangMonitor.java:191)

                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)

                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)

                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Richards, Thomas

unread,
Nov 18, 2009, 7:11:41 PM11/18/09
to Martin Dorey, Elliott Hughes, terminat...@googlegroups.com

From: Martin Dorey [mailto:mdo...@bluearc.com]

Martin Dorey

unread,
Nov 19, 2009, 3:55:05 PM11/19/09
to Richards, Thomas, Elliott Hughes, terminat...@googlegroups.com

> To me it looks as though the log just ends when Terminator crashes.

 

Yeah, me too.  Guess I was wrong then - I guess the JVM did quit on us.  I wonder if it pooped out an hs_err_pid<n>.log file.  Still, if the Sun JRE holds up, I doubt it's worth the effort...

 


From: Richards, Thomas [mailto:Ric...@UPMC.EDU]
Sent: Thursday, November 19, 2009 12:45
To: Martin Dorey; Elliott Hughes
Cc: terminat...@googlegroups.com
Subject: RE: Terminator keeps crshing, all of a sudden!

 

Thanks for the help.

 I attach the log file you specified.

To me it looks as though the log just ends when Terminator crashes.

I was using R (www.r-project.org) in the Terminator windows every time it crashed.

Maybe there is a bug in that program, but I wouldn’t begin to know how to identify it.

For a year all worked perfectly, even with pasting in huge swaths of R statements from Xemacs.

But for the past two weeks every time I’d pasted in a large number of R statements, Terminator crashed.

It must be a recent Fedora upgrade, coupled with a recent R upgrade, to their version 2.10.0, coupled with my openJDK, which I have now uninstalled in favor of Sun JRE, as I mentioned.

So far no crashes; I will keep my eyes open.

Thanks again.

I simply REQUIRE Terminator in my work in data analysis.  No other terminal is this great.

 I hope R can play nicely with Terminator in Fedora 12 and forward.

Ed Porter

unread,
Nov 19, 2009, 4:24:06 PM11/19/09
to terminat...@googlegroups.com

On 17 Nov 2009, at 19:28, Elliott Hughes wrote:

>
> also, have you tried Sun's JVM? knowing that it works on one but
> not on
> the other would be a good clue.
>
> none of us (afaik) use an OpenJDK-derived JVM because they're too
> buggy,

Yes, I've noticed plenty of display bugs with OpenJDK, so I recommend
not using them for real work unless your work is fixing the display-
related parts of OpenJDK. They may, as you say, be fine for headless
stuff.

-ed

Martin Dorey

unread,
Nov 19, 2009, 5:39:56 PM11/19/09
to Richards, Thomas, Elliott Hughes, terminat...@googlegroups.com

Just ensure that the "java" that's first on the PATH when it's run is Sun Java.

 


From: Richards, Thomas [mailto:Ric...@UPMC.EDU]
Sent: Thursday, November 19, 2009 14:00
To: Martin Dorey; Elliott Hughes
Cc: terminat...@googlegroups.com
Subject: RE: Terminator keeps crshing, all of a sudden!

 

No files like hs_err* on this machine.

 

OK, next perplexing item for me, FAQ for you.

 

I had to uninstall weka to uninstall openJDK.

 

I just reinatalled weka, which seems to depend on openJDK in Fedora 11.

 

How do ensure that Terminator always uses Sun JRE and not openJDK?

Richards, Thomas

unread,
Nov 19, 2009, 5:00:19 PM11/19/09
to Martin Dorey, Elliott Hughes, terminat...@googlegroups.com

No files like hs_err* on this machine.

 

OK, next perplexing item for me, FAQ for you.

 

I had to uninstall weka to uninstall openJDK.

 

I just reinatalled weka, which seems to depend on openJDK in Fedora 11.

 

How do ensure that Terminator always uses Sun JRE and not openJDK?

 

Elliott Hughes

unread,
Nov 19, 2009, 7:05:09 PM11/19/09
to Martin Dorey, Richards, Thomas, Elliott Hughes, terminat...@googlegroups.com
see also update-java-alternatives(1).

--elliott
> I was using R (www.r-project.org<http://www.r-project.org>) in the
> txt 2009-11-16T09:07:26.530-0500 Terminator: echo localhost:42243 >
> ke-java.rb:459:in `launch'
> at /usr/bin/terminator:97:in `launch0' at /usr/bin/terminator:21:in
> `launch'
> at
> -alert.rb:134:in `report_exceptions'
> at /usr/bin/terminator:21:in `launch' at /usr/bin/terminator:214
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups
> "terminator-users" group.
> To post to this group, send email to terminat...@googlegroups.com
> To unsubscribe from this group, send email to
> terminator-use...@googlegroups.com For more options, visit this
> group at http://groups.google.com/group/terminator-users?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>
>


Richards, Thomas

unread,
Nov 19, 2009, 3:44:56 PM11/19/09
to Martin Dorey, Elliott Hughes, terminat...@googlegroups.com

Thanks for the help.

 I attach the log file you specified.

To me it looks as though the log just ends when Terminator crashes.

I was using R (www.r-project.org) in the Terminator windows every time it crashed.

Maybe there is a bug in that program, but I wouldn’t begin to know how to identify it.

For a year all worked perfectly, even with pasting in huge swaths of R statements from Xemacs.

But for the past two weeks every time I’d pasted in a large number of R statements, Terminator crashed.

It must be a recent Fedora upgrade, coupled with a recent R upgrade, to their version 2.10.0, coupled with my openJDK, which I have now uninstalled in favor of Sun JRE, as I mentioned.

So far no crashes; I will keep my eyes open.

Thanks again.

I simply REQUIRE Terminator in my work in data analysis.  No other terminal is this great.

 I hope R can play nicely with Terminator in Fedora 12 and forward.

 

 

From: Martin Dorey [mailto:mdo...@bluearc.com]

Sent: Wednesday, November 18, 2009 7:25 PM

terminator-5191.log

Martin Dorey

unread,
Nov 20, 2009, 10:56:19 AM11/20/09
to Ric...@upmc.edu, e...@jessies.org, terminat...@googlegroups.com
> Sorry, I cannot find update-java-alternatives anywhere on Fedora.

The absence of anything but Ubuntu and Debian on the first page of google matches for that program makes me think it's a Debianism.

> I don't understand why I am not offered the
> option of using the following, which is the
> one from Sun:

Perhaps the package that installed it didn't contain support for Fedora's alternatives mechanism. Was it a Fedora package or one directly from Sun?

> I am concerned that java.class.path
> includes the openjdk libraries

Rightly so, I think. Which Java was at the head of the PATH when Terminator was started?

> though the java.vendor is Sun and the
> java.vm.name is indeed "Java HotSpot(TM)
> 64-Bit Server VM ".

Might that not be the case even for OpenJDK which, as I understand it, is largely the same Sun code.

What do you see by comparison if you deliberately start Terminator with the OpenJDK "java" executable first in the PATH?

----- Original Message -----
From: Richards, Thomas <Ric...@UPMC.EDU>
To: Elliott Hughes <e...@jessies.org>; Martin Dorey
Cc: terminat...@googlegroups.com <terminat...@googlegroups.com>
Sent: Fri Nov 20 01:31:19 2009
Subject: RE: Terminator keeps crshing, all of a sudden!

Sorry, I cannot find update-java-alternatives anywhere on Fedora.
I tried this:

04:03 Fri Nov 20 richards:~ $ sudo alternatives --config java

There are 2 programs which provide 'java'.

Selection Command
-----------------------------------------------
+ 1 /usr/lib/jvm/jre-1.5.0-gcj/bin/java
* 2 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
Enter to keep the current selection[+], or type selection number:

I don't understand why I am not offered the option of using the following, which is the one from Sun:

04:05 Fri Nov 20 richards:~ $ /usr/java/jre1.6.0_17/bin/java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)

Apparently I need openjdk to use Weka on Fedora, and gcj for OpenOffice.

Anyway, when I look in Terminator at Help --> Debugging Tools --> Show Environment, there is no mention of openJDK at all, which is great.

However, when I do Help --> Debugging Tools --> Show System Properties, I am concerned that java.class.path includes the openjdk libraries, even though the java.vendor is Sun and the java.vm.name is indeed "Java HotSpot(TM) 64-Bit Server VM ".

Hopefully Terminator uses sun.boot.class.path, instead?????



________________________________________
From: Elliott Hughes [e...@jessies.org]
Sent: Thursday, November 19, 2009 7:05 PM
To: Martin Dorey
Cc: Richards, Thomas; Elliott Hughes; terminat...@googlegroups.com
Subject: RE: Terminator keeps crshing, all of a sudden!

see also update-java-alternatives(1).

--elliott

On Thu, November 19, 2009 14:39, Martin Dorey wrote:
> Just ensure that the "java" that's first on the PATH when it's run is Sun
> Java.
>
>
> ________________________________
> From: Richards, Thomas [mailto:Ric...@UPMC.EDU]
> Sent: Thursday, November 19, 2009 14:00
> To: Martin Dorey; Elliott Hughes
> Cc: terminat...@googlegroups.com
> Subject: RE: Terminator keeps crshing, all of a sudden!
>
>
> No files like hs_err* on this machine.
>
>
> OK, next perplexing item for me, FAQ for you.
>
>
> I had to uninstall weka to uninstall openJDK.
>
>
> I just reinatalled weka, which seems to depend on openJDK in Fedora 11.
>
>
> How do ensure that Terminator always uses Sun JRE and not openJDK?
>
>
> From: Martin Dorey [mailto:mdo...@bluearc.com]
> Sent: Thursday, November 19, 2009 3:55 PM
> To: Richards, Thomas; Elliott Hughes
> Cc: terminat...@googlegroups.com
> Subject: RE: Terminator keeps crshing, all of a sudden!
>
>
>> To me it looks as though the log just ends when Terminator crashes.
>>
>
> Yeah, me too. Guess I was wrong then - I guess the JVM did quit on us.
> I wonder if it pooped out an hs_err_pid<n>.log file. Still, if the Sun
> JRE holds up, I doubt it's worth the effort...
>
>
> ________________________________
> From: Richards, Thomas [mailto:Ric...@UPMC.EDU]
> Sent: Thursday, November 19, 2009 12:45
> To: Martin Dorey; Elliott Hughes
> Cc: terminat...@googlegroups.com
> Subject: RE: Terminator keeps crshing, all of a sudden!
>
>
> Thanks for the help.
> I attach the log file you specified.
> To me it looks as though the log just ends when Terminator crashes.
> I was using R (www.r-project.org<http://www.r-project.org>) in the
> txt 2009-11-16T09:07:26.530-0500 Terminator: echo localhost:42243 >
> /home/richards/.terminator/terminator-server-port_0.0
> 2009-11-16T09:18:16.229-0500 Terminator: Couldn't get system selection
> Associated exception:
> java.awt.datatransfer.UnsupportedFlavorException: Unicode String
> at
> sun.awt.datatransfer.ClipboardTransferable.getTransferData(ClipboardTrans
> ferable.java:160)
> at
> terminator.view.TerminatorMenuItemProvider.getSystemSelection(TerminatorM
> enuItemProvider.java:78)
> at
> terminator.view.TerminatorMenuItemProvider.addInfoItems(TerminatorMenuIte
> mProvider.java:46)
> at
> terminator.view.TerminatorMenuItemProvider.provideMenuItems(TerminatorMen
> uItemProvider.java:40)
> at
> terminator.view.JTerminalPane$1.provideMenuItems(JTerminalPane.java:134)
> at e.gui.EPopupMenu.showPopupMenu(EPopupMenu.java:144) at
> e.gui.EPopupMenu.access$300(EPopupMenu.java:15)
> at e.gui.EPopupMenu$2.run(EPopupMenu.java:130) at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:602) at
> e.debug.EventDispatchThreadHangMonitor.dispatchEvent(EventDispatchThreadH
> angMonitor.java:191)
> at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.j
> ava:275)
> at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java
> :200)
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.j
> ava:190)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
> 2009-11-16T10:01:59.894-0500 Terminator: Couldn't get system selection
> Associated exception:
> java.awt.datatransfer.UnsupportedFlavorException: Unicode String
> at
> sun.awt.datatransfer.ClipboardTransferable.getTransferData(ClipboardTrans
> ferable.java:160)
> at
> terminator.view.TerminatorMenuItemProvider.getSystemSelection(TerminatorM
> enuItemProvider.java:78)
> at
> terminator.view.TerminatorMenuItemProvider.addInfoItems(TerminatorMenuIte
> mProvider.java:46)
> at
> terminator.view.TerminatorMenuItemProvider.provideMenuItems(TerminatorMen
> uItemProvider.java:40)
> at
> terminator.view.JTerminalPane$1.provideMenuItems(JTerminalPane.java:134)
> at e.gui.EPopupMenu.showPopupMenu(EPopupMenu.java:144) at
> e.gui.EPopupMenu.access$300(EPopupMenu.java:15)
> at e.gui.EPopupMenu$2.run(EPopupMenu.java:130) at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:602) at
> e.debug.EventDispatchThreadHangMonitor.dispatchEvent(EventDispatchThreadH
> angMonitor.java:191)
> at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.j
> ava:275)
> at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java
> :200)
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.j
> ke-java.rb:459:in `launch'
> at /usr/bin/terminator:97:in `launch0' at /usr/bin/terminator:21:in
> `launch'
> at
> -alert.rb:134:in `report_exceptions'
> at /usr/bin/terminator:21:in `launch' at /usr/bin/terminator:214
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups
> "terminator-users" group.
> To post to this group, send email to terminat...@googlegroups.com
> To unsubscribe from this group, send email to
> terminator-use...@googlegroups.com For more options, visit this
> group at http://groups.google.com/group/terminator-users?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>
>


Richards, Thomas

unread,
Nov 20, 2009, 4:31:19 AM11/20/09
to Elliott Hughes, Martin Dorey, terminat...@googlegroups.com
Sorry, I cannot find update-java-alternatives anywhere on Fedora.
I tried this:

04:03 Fri Nov 20 richards:~ $ sudo alternatives --config java

There are 2 programs which provide 'java'.

Selection Command
-----------------------------------------------
+ 1 /usr/lib/jvm/jre-1.5.0-gcj/bin/java
* 2 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
Enter to keep the current selection[+], or type selection number:

I don't understand why I am not offered the option of using the following, which is the one from Sun:

04:05 Fri Nov 20 richards:~ $ /usr/java/jre1.6.0_17/bin/java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)

Apparently I need openjdk to use Weka on Fedora, and gcj for OpenOffice.

Anyway, when I look in Terminator at Help --> Debugging Tools --> Show Environment, there is no mention of openJDK at all, which is great.

However, when I do Help --> Debugging Tools --> Show System Properties, I am concerned that java.class.path includes the openjdk libraries, even though the java.vendor is Sun and the java.vm.name is indeed "Java HotSpot(TM) 64-Bit Server VM ".

Hopefully Terminator uses sun.boot.class.path, instead?????



________________________________________
From: Elliott Hughes [e...@jessies.org]
Sent: Thursday, November 19, 2009 7:05 PM
To: Martin Dorey
Cc: Richards, Thomas; Elliott Hughes; terminat...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages