Linux: which toolkit is used in JVM for heavyweight components?
Hi,
which toolkit is used by the Linux-variant of the JVM for the heavyweight-components? GTK?
Oxy
java.awt.Toolkit is abstract. He means what implementation is used (motif-based, etc.). For example, sun.awt.motif.MToolkit.
It might vary from one Linux variant to another (and from one JVM version to another), I'm not sure. But for any particular Linux system, you can run this program to find out:
import java.awt.*;
public class test {
public static void main(String[] args) {
System.out.println(Toolkit.getDefaultToolkit().getClass());
}Edited by: BoBear2681 on Apr 24, 2008 3:37 PM
Similar Messages
-
My thuderbolt display is 3 weeks old which I'm using as display for my mac mini. I no longer get the display on but can hear the sound. Please suggest.
Make sure the mini-displayport/TB plug is fully seated. It may look fully plugged in but isn't.
Make sure the Displays system preferences has an Arrangement tab. No Arrangement means the monitor is not being detected.
Do a smc reset.
If none of this works I suggest you take it back to apple (along with your mini). -
My macbook from 2008 which I bought used worked fine for 3 weeks and then suddenly it started restarting and now it restarts, goes to grey apple screen and a code saying something about a kernel panic appears and it restarts again and again. Help?
Restart the computer and immediately hold the Option key down.
Select the Recovery partition and continue.
On the next pane, select Disk Utility and continue.
When DU opens, select your hard drive in the left column, click the First Aid tab, the click Repair Disk.
When that is done, quit DU and restart in the usual way. -
SSP5: Using multiple JVM for load balance performance?
Sun 12 MAY 2002
Apps 11.0.3
SSP5 patchset I
HP UX 11.0
db 8.1.7.2 (64-bit)
Load 60 concurrent sessions, each spawning 2.5 - 3 http connections.
CPU 3:750Mhz
RAM 8G
Is anybody using multiple JVM for load balance?
What is your ratio of JVM to concurrent iP sessions?
Are you running Apache/Jserv on a server with any other applications, or is Apache by itself?
If you are not using JVM, how many httpd processes do you get before Apache implodes? We stopped in the water at 90 httpd processes, but performance degraded starting at 70 sessions.
Thx - DonUsing Web Cache to load balance servlet-based Forms (6i and 9i) is unofficially supported. I say "unofficially" because we have actual customers doing it and getting support, but the 2 development teams (Forms and Web Cache) haven't actually done any integration testing of this sort of configuration yet. For your case, please contact your Support rep and ask what was done to use Web Cache as a load balancer for Forms6i at METRO in Germany. The Forms product managemment team is writing up a white paper to describe how to do it, but until then, you'll need to go through Support. Please contact me if you want more information.
-
Using separate JVM for a java program, other than what's installed in OS
Hello all,
I am trying to use different version of java executable , other than using the version of java installed in the OS, in the windows.
Is linux, I believe I have used different version of java ( I suppose using different JVM ? )
Would there be any conflict between the version of java installed in the computer and the version of java in my program ?
Thanks
Kylevenvidu wrote:
I see,
So, each java executable from the separate version is its own JVM + executable java code and different java executable can be run at the same time. I don't know what you mean by that. You start a new JVM when you start java.exe or javaw.exe (on windows), and you can have several VMs running, both of same version, and of different versions.
>
Then, in the windows OS, is there anything in the system file which store specific information about the installed java version ?The registry has some information, but a VM doesn't need to write anything to the registry, so it all depends on how you installed the VM.
>
The idea is that, on top of the installed version of java, I am trying to included pre-compiled java in my program. Huh? I don't understand that.
So that my program uses its own java version Ok
-- most likely, the latest version Why do you think so? You can release your software today with a JRE, but that JRE might not be the latest version 1 week later.
-- regardless of what the current windows OS has.
I know this poses no problem in the linux OS, but is there anything in the windows OS that might potentially corrupt the above approach ?I'm not sure that I have understood exactly what you said, but I don't see any problems.
Kaj -
What can I use Aurora JVM for?
Hi, Oracle 8i Java Development Team!
I have made more accurate tests. I done Java stored procedure and
deployed it on Oracle 8.1.5 Server Enterprise Edition . Here are
Java program and SQL call spec.
Java store procedure I run in two ways: from SQL*PLUS and from
session shell with the same bad results. Then I run this program
on Sun JVM ( JDK 1.1.7 ) and received interesting results ( see
below )
public class TestBench
public static long RunBecnch( long count )
double dig = 76765.78978;
double res;
long start = System.currentTimeMillis();
for ( int j = 0; j < count; j++ )
res = dig / j;
long end = System.currentTimeMillis();
System.out.println( "Time is : " + ( end - start ));
return ( end - start );
public static void main( String[] args )
long cnt = Integer.parseInt( args[ 0 ] );
long res = RunBecnch( cnt );
create or replace function test_bench( cnt number ) return number
as
language java
name 'TestBench.RunBecnch( long ) return long';
declare
res number;
cnt number;
begin
cnt := 10000000;
res := test_bench( cnt );
dbms_output.put_line( 'Result is 'Hello,
Digging a bit in the Oracle 8i docs, I've found why the java
performance is so low in the database VM. Because there is no
support for user native code from Java yet, and it will be
implmented in a subsequent release. So every program you write
is interpreted only.
So the only advantage you can get from Oracle 8i for the
moment is using their nativized libraries (which are DLL's for
the JDK API)
Alexander
Vladimir Borkovkin (guest) wrote:
: Hi, Oracle 8i Java Development Team!
: I have made more accurate tests. I done Java stored procedure
and
: deployed it on Oracle 8.1.5 Server Enterprise Edition . Here
are
: Java program and SQL call spec.
: Java store procedure I run in two ways: from SQL*PLUS and from
: session shell with the same bad results. Then I run this
program
: on Sun JVM ( JDK 1.1.7 ) and received interesting results (
see
: below )
: public class TestBench
: public static long RunBecnch( long count )
: double dig = 76765.78978;
: double res;
: long start = System.currentTimeMillis();
: for ( int j = 0; j < count; j++ )
: res = dig / j;
: long end = System.currentTimeMillis();
: System.out.println( "Time is : " + ( end - start ));
: return ( end - start );
: public static void main( String[] args )
: long cnt = Integer.parseInt( args[ 0 ] );
: long res = RunBecnch( cnt );
: create or replace function test_bench( cnt number ) return
number
: as
: language java
: name 'TestBench.RunBecnch( long ) return long';
: declare
: res number;
: cnt number;
: begin
: cnt := 10000000;
: res := test_bench( cnt );
: dbms_output.put_line( 'Result is ' -
Linux: which download to use?
At the download site (http://java.sun.com/j2se/1.4.1/download.html) there are three downloads for Linux:
Linux RPM in self-extracting file
Linux self-extracting file
License for all platforms
i tend to use the last one, but what is best for my SuSE 8.1 Linux and which is known to have installation/runtime problems/quirks?Im new user of Linux using RedHat Linux9.0 with kernel-2.4.20-8 with /lib/libc-2.3.2.so ....
Ive downloaded both: j2sdk-1_3_1_08-linux-i586.bin and j2sdk-1_3_1_08-linux-i586.rpm.bin and execute the following commands but there was no results not even error...commands were:
chmod a+x j2sdk-1_3_1_08-linux-i586-rpm.bin ./j2sdk-1_3_1_08-linux-i586-rpm.bin
chmod a+x j2sdk-1_3_1_08-linux-i586.bin ./j2sdk-1_3_1_08-linux-i586.bin
Ive follwed the instructions of Installation notes on http://java.sun.com/j2se/1.3/install-linux-sdk.html
Now plz tell me what shuold I do and another problem is that Im trying to install JBuilder7 on Linux but its not installing and even no response when I execute the installation file.. -
I have used Satmap online mapping for several years on a PC
Now moved to Mac and all was ok until i moved to Mavericks!!
I can no longer save *.GPX files to the Mac - it appears to do everything except actually saving the file
Any ideas before i have to buy another PC would be helpful
This is using Safari I have also tried Firefox all software is up to date
this is on my Imac and Macbook Pro both 2013I have used Satmap online mapping for several years on a PC
Now moved to Mac and all was ok until i moved to Mavericks!!
I can no longer save *.GPX files to the Mac - it appears to do everything except actually saving the file
Any ideas before i have to buy another PC would be helpful
This is using Safari I have also tried Firefox all software is up to date
this is on my Imac and Macbook Pro both 2013 -
Anyway of determing which canon cameras use avi files for its video?
my computer does not support mov files. it is vista software. i dont want to download conversion software for mov to avi. looking for a simple way of going thru canon's cameras to find the ones that uses avi.
concho195 wrote:
my computer does not support mov files. it is vista software. i dont want to download conversion software for mov to avi. looking for a simple way of going thru canon's cameras to find the ones that uses avi.
dpreview.com has a compare cameras feature that lets you compare up to 20 models at once. You just could load a bunch in and see if it gives you what you want.
http://trulandphoto.zenfolio.com/
http://trulandphoto.blogspot.com/ -
Which printers are used by apple for printing photo books
I was wondering how I had to sharpen my images for photobook printing using aperture. Can I download there printerprofiles anywhere?
I'm back from the Apple store and ran setup on the new machine. When I tried to transfer my old information, the setup would recognize my external hard drive. I called Apple and they said setup only recognizes Time Machine or other real backups of a machine.
They were great anyway and walked me through the manual process of dragging and dropping my users folders to recreate my old machine on the new AIr.
It turned out ok.
bg -
Problem while using BCP utility for witing data in file
hi all,
I have a batch file in which I am using bcp command for reading data from MS SQL and writing it in delimiter file. Now there are some exceptions in MS SQL that while writing into file whenever it encounters new line character it switches to next line while writing and starts writing the rest of the data on next.
Could you help me in getting rid of this problem. I wanted to replace the new line character with space.
Thanks and regards
NitinHi Dilip,
Before going for any other table,
As Kalnr is only one of the primary keys of table KEKO, You can try creating secondary index on KEKO, which might help in improving your report performance.
Also, you can add more conditions in where clause if possible, which will also help in improving performance.
Thansk,
Archana -
Set Global Properties for ADF components
Hi everyOne....
My question is the following .... let me know how I can set global properties for a component and not have to set the same property in each of them.
Thanks
EdmarLet me know if this answers your question:
For Attributes : set the properties in EO or VO. [You can set all UI properties too]
For labels: use Resource bundle
For Layout Components to set the look and feel. CSS/Skinning would be the best.
I guess this should cover most part of application.
Amit -
Issue in FF v 3.6.10: I have a web page which have more than 20 link, clicking on each of these link opens up a pop-up using window.showModalDialog, for the first consecutive 20 popup opens up without any prob but for the 21st n more click it block the popup and do not open. This is m problem, the real user on the web page can click on more than 20 link in such a scenario it may create problem, please help
Your above posted system details show outdated plugin(s) with known security and stability risks.
*Shockwave Flash 9.0 r999
Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
*http://www.adobe.com/software/flash/about/
In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
http://java.com/en/download/faq/firefox_newplugin.xml
See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html -
Oracle 8i for Linux: Which platform
Does anyone knows which platform is supported by Oracle 8i for
linux?
Here we using LinuxPPC (fpr PowerPC-Platform) with all the given
reqirements!
Does Oracle 8i runs on systems with PowerPC-processor?
Thanx for answer
Dieter Fiebelkorn
nullI had an Alpha I wanted to install 8i on under Linux, but at
this point it only supports Linux on an Intel box. You may want
to check the migration path to see if Oracle plans to port to a
Power-PC
null -
Which compiler is used/supported on Linux
Hi all,
Just a simple question for the Oracle support guys - which compiler is used when generating the Linux distribution - my guess would be a GNU gcc of some sort. But can anybody comfirm this - preferably by pointing to some sort of official reference.
Thanks in advance.
br
JacobThis is an Application Server newsgroup. (iAS)
Your might have a better chance with your question on iplanet.server, or
a iWS related newsgroup.
David
Kim Ammouche wrote:
Hi
Got a server with RH 7.1 and a postgress database that I plannet to use
with some LiveWire/SSJS applications over a ODBC connections..
I got the Enterprise server 4.1 SP8 installed but I can't get it to connect
via ODBC.
I just get: [DBNOTFOUND] No access library for 'libnsrwodb.so' from
dbadmin. Isn't ODBC supported by Enterprise for Linux ?
Thanks !
Kim
Maybe you are looking for
-
Unable to install Extension Manager update 6.0.8
Update fails with error U44M1P7
-
No programs open, but 3GB RAM in use?
I'm running into some problems with the amount of free RAM I have available to me, and it's causing serious performance problems. I have a new 2011 MBP and I just ran into a situation where I ran out of RAM and the computer became extremely sluggish.
-
as the subject states, i am suing Premier Elements pro to create a video using photos. The photos are clear then when you play the video they become blurry. I would guess there would be a way to correct this but not having much success. any helps wou
-
Ethernet stopped working today.
Today I started my PowerPC to send some emails and my Internet connection was no longer working. I looked in the Control Panel "TCP/IP" and the "Ethernet" option was missing. The only two options I have are Apple Talk and PPP. I got one error message
-
Adobe Photoshop Elements 12 changes DateTime EXIF parameter after editing and saving photo
Hello, I have a little problem with Elements 12. After I edit a photo and save it, Elements changes the DateTime parameter to the time the photo was saved. Is there any way not to change this parameter? Just to save photo with stock EXIF-metadata?