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 MOJAVE
javaws
javaws(1) General Commands Manual javaws(1)
NAME
javaws - Java Web Start launcher command
SYNOPSIS
javaws [ options ] [ URL ]
PARAMETERS
options Command-line options. Options many be in any order. For a discussion of the various options, see OPTIONS below.
URL Uniform Resource Locator (URL) of the JNLP (Java Network Launching Protocol) file.
DESCRIPTION
The javaws command launches Java Web Start, which is the reference implementation of the Java Network Launching Protocol (JNLP). Java Web
Start launches java application/applets hosted on a network.
Without any options javaws will launch the Java JNLP Application Manager, from which users can launch applications/applet or configure Java
Web Start.
If a URL for a JNLP file is specified, javaws will launch the Java application/applet specified in the JNLP file.
OPTIONS
The javaws launcher has a set of options that are supported in the current release. However, the options may be removed in a future
release. All -X options are non-standard and subject to change.
-offline
Runs Java Web Start in offline mode.
-uninstall URL
Removes a specific application/applet from the user's cache, as indicated by the URL for the JNLP file. Java Web Start will exit
after the command has completed.
-updateVersions
Updates the Java Web Start configuration file based on the current machine's settings. Java Web Start will exit when the command is
completed.
-Xclearcache
Clears the user's cache. Java Web Start will exit after the command has completed.
-Xnosplash
Disables the display of the initial splash screen.
-import
Imports the application specified by the URL into the user's cache but does not run it..
-silent
When used with the -import option, imports in silent mode; i.e., there will be no UI pop up. The process exit code will be either 0
if successful or 1 if not.
-codebase URL
Replaces the codebase with URL in the jnlp file specified when importing the resources. URL must be a valid URL.
-system
Uses the system cache instead of the user cache.
-shortcut
Allows the creation of shortcuts during silent import.
-association
Allows the creation of associations during silent import.
-open arguments
If specified, replaces the arguments in the jnlp file with -open arguments.
-print arguments
If specified, replaces the arguments in the jnlp file with -print arguments.
-online
Runs in online mode (default behavior).
-viewer
Runs the Java Application Cache Viewer (default if no URL is specified).
-userConfig property-name
Clears the specified deployment property.
-userConfig property-name property-value
Sets the specified deployment property to the specified value.
-wait If specified, the javaws process will not exit until the application exits.
FILES
For more information about the user and system cache and deployment.properties files, see http://java.sun.com/j2se/1.5.0/docs/guide/deploy-
ment/deployment-guide/properties.html
MORE INFORMATION
For more information about Java Web Start, see http://java.sun.com/j2se/1.5.0/docs/guide/javaws/index.html.
09 April 2004 javaws(1)