LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-14-2007, 07:30 AM   #1
solly
LQ Newbie
 
Registered: Aug 2005
Posts: 19

Rep: Reputation: 0
java problem in Slack 12


I have a modular java project (http://pooter.sourceforge.net)

One of the modules implements a mindmap - a sort of electronic scribble diagram. It uses some custom painting code in a JPanel with a null layout manager. It worked fine in Slack11 (with both 2.4 and 2.6 kernels) and most other OS/JVM combinations I've tested it on.

On Slack12, whichever kernel I use (huge/smp/generic) it quickly grinds everything to a standstill; mouse and button events take minutes to take effect and any other running program is also affected. I tried reverting to the JVM I was using with 11.0, but no improvement.

Any ideas about this - is it some kernel configuration issue, or connected with X11?
 
Old 07-14-2007, 11:39 AM   #2
kfoster23
LQ Newbie
 
Registered: Sep 2006
Location: Lampasas, Texas
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
java

Try running "top" from CLI when this is occurring to see what is eating up the processor. Might give some good clues.
 
Old 07-14-2007, 12:43 PM   #3
dmrr
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware 12
Posts: 12

Rep: Reputation: 0
I have a similar problem using jedit, the scrolling is mighty slow and the dialogs take forever to open. The avg load rises quickly to. I installed several older jvm but that was not the problem. I think. Other programs using java seem to work fine. There must be a particular slack12 configuration.
 
Old 07-14-2007, 01:37 PM   #4
thegoofeedude
Member
 
Registered: Aug 2004
Distribution: Slackware 13.37, 14.1
Posts: 75

Rep: Reputation: 17
I downloaded and installed Pooter to see if I would experience the same problems (pretty neat software!). I ran it and messed around in the gui for while (looking at the calender app, writing a note, looking at the help and preferences dialogs.) I noticed no lag whatsoever; everything ran very smoothly. I'm running a pretty typical Slackware 12, except I updated the xf86-video-ati package using the newer one in /extra (xf86-video-ati-6.6.3-i486-3). This fixed a lot of graphical bugs for me. Are any of you running ati cards?


EDIT: Yeah I was wrong . I figured out how to add a node to the mindmap (if I would have read your post more closely, I would have known to try that in the first place!) and everything slowed to a crawl just as you described. top showed java eating all the cpu time. Sorry I was no help!

Last edited by thegoofeedude; 07-14-2007 at 02:01 PM.
 
Old 07-14-2007, 02:06 PM   #5
solly
LQ Newbie
 
Registered: Aug 2005
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
I ran it and messed around in the gui for while (looking at the calender app, writing a note, looking at the help and preferences dialogs.) I noticed no lag whatsoever; everything ran very smoothly.
Yes the Calendar module is fine; its the Thought Map module that is affected. Please try this and let me know, maybe the new X solves this problem.

There are some example Thought Maps in /usr/lib/pooter/examples/ThoughtMap. If you copy these into <Pooter data dir>/ThoughtMap, you can load them. Try moving the nodes around or editing them.
 
Old 07-14-2007, 02:08 PM   #6
thegoofeedude
Member
 
Registered: Aug 2004
Distribution: Slackware 13.37, 14.1
Posts: 75

Rep: Reputation: 17
Woops! Notice I edited my above post. I should have read your post more carefully, sorry!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java and Dual monitors with Slack 12 number22 Slackware 4 07-17-2007 12:03 AM
X11 variable prob with Java on Slack 10.2 jayn16 Programming 3 05-31-2006 03:32 AM
Slack 10.2 / Java 1.5 / CUPS printing rhb327 Slackware 5 04-18-2006 03:36 AM
How I enabled Java plugin for Mozilla-firefox in Slack 10 rsamurti Slackware - Installation 1 08-07-2004 02:30 AM
java on slack gui10 Programming 2 04-25-2002 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration