10-18-2004
I don't think any packagers would bundle AWT/Swing separately because they are part of the foundataion classes ...... and actually (as in Sun's distribution) they are bundled in a single JAR file together with the other classes (in my distribution, that is rt.jar).
And a sidenote, make sure the java executable doesn't point to "gcj", as only a small subset of its JFC is implemented (no AWT/Swing etc.) I know some distributions use this GNU Java compiler as the default (because of potential licensing issues) where some classes are simply missing or are not implemented. This is a likely reason why you are unable to compile programs using GUI classes.
9 More Discussions You Might Find Interesting
1. Linux
i wish to run java files on inux but while downloading it into linux there is no problem but when i r try to execute a java file it says javac not found. help pleas (5 Replies)
Discussion started by: wojtyla
5 Replies
2. UNIX for Dummies Questions & Answers
is it advisible to do Linux Programming in JAVA.. If so, whats the advantage over C++ or C.. Cud anyone also help me out by providing some links in this regard.. Would be highly appreciated.. (1 Reply)
Discussion started by: srikumar_cs
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
Need help in tuning JAVA on LINUX.
From http://www.trutek.com/index.php?id=173 I understand that on Linux operating system with 4GB memory, JVM can be run with maximum memory of 3800m. But I had no luck. Could someone help me in achieving on Red Hat Linux server.
Here is the details of... (5 Replies)
Discussion started by: crabbie_upk
5 Replies
4. Android
In case you did not know, Android 2.1, Éclair, runs on the 2.6.29 Linux kernel. However, the user space it is built atop Dalvik, a Google-designed custom JVM (Java virtual machine).
This is pretty interesting, when you think about it. The core of Android is the linux kernel, and the standard... (5 Replies)
Discussion started by: Neo
5 Replies
5. Programming
Hi,
I have a requirement where users will send excel(.xls) file to Linux Platform using ftp/sftp. After that the excel file needs to be read using java on linux and converted into csv.
I am using jxl to parse the excel, but few character like £ are not getting parsed properly. If i open the... (0 Replies)
Discussion started by: joy_bt
0 Replies
6. Programming
Hello,
I have a project directory in /home/researcher
I have in my project/src three packages:A (contains the main class), B and C and I have 2 jar-files file1.jar file2.jar files in the project/my-jars
In Class A I import other classes from the other packages
I compiled as follows:... (4 Replies)
Discussion started by: chercheur857
4 Replies
7. Programming
Hello
Please why the files have not created?
Thank you (0 Replies)
Discussion started by: chercheur857
0 Replies
8. Linux
Hi
How can I write a Java program to execute Linux commands? What is the best approach:
Invoking the Linux shell within Java and executing commands
or, using the Java APIs to do the stuff. Since it is platform independent, it'll know itself what to do. We need not check which OS the Java... (1 Reply)
Discussion started by: Dorothy
1 Replies
9. Programming
Hi All,
We recently moved to Red Hat Enterprise Linux Server release 6.6 from Solaris 10.
The existing Java code to send emails in Solaris is
public class card_cardMessenger{ /** * Send an e-mail message via the Runtime class * @see Runtime * @return boolean (success or failure of... (1 Reply)
Discussion started by: Meghan2525
1 Replies
LEARN ABOUT SUSE
dacs.java
DACS.JAVA(7) DACS Miscellaneous Information DACS.JAVA(7)
NAME
dacs.java - DACS Java support
DESCRIPTION
This document describes support for Java provided by DACS.
To enable Java support, DACS must be configured using the --enable-java flag. It may also be necessary to specify the location of the Java
commands and include files. See dacs.install(7)[1].
Note
Java support is currently very limited and should be considered experimental. It is currently only possible to call dacsauth(1)[2] and
dacscheck(1)[3] using the Java Native Interface (JNI) provided. The command line arguments to both of these commands are exactly as
documented in their manual pages. Each argument is passed as a String.
The code is not thread-safe and is probably not suitable for being called many times within a particular process due to assumptions it
makes about dynamic memory allocation.
There are no immediate plans to improve or extend Java support. Using the existing capability to build the JNI layer, however, it
should not be difficult for an experienced Java programmer to build upon the example Java code provided.
With Java support enabled, building DACS will copy the JNI shared library and a .jar file to the library directory (default:
/usr/local/dacs/lib), and the JNI include files to the include directory (default: /usr/local/dacs/include).
The tools/java/jni distribution directory contains a simple script called javarun that demonstrates how to run dacsauth or dacscheck as a
Java application. For example, to validate the Unix password for user somebody, run (as root):
./javarun dacsauth -m unix suff -user somebody -prompt
DIAGNOSTICS
The return codes are as documented in the command's manual page.
AUTHOR
Distributed Systems Software (www.dss.ca[4])
COPYING
Copyright2003-2012 Distributed Systems Software. See the LICENSE[5] file that accompanies the distribution for licensing information.
NOTES
1. dacs.install(7)
http://dacs.dss.ca/man/dacs.install.7.html
2. dacsauth(1)
http://dacs.dss.ca/man/dacsauth.1.html
3. dacscheck(1)
http://dacs.dss.ca/man/dacscheck.1.html
4. www.dss.ca
http://www.dss.ca
5. LICENSE
http://dacs.dss.ca/man/../misc/LICENSE
DACS 1.4.27b 10/22/2012 DACS.JAVA(7)