<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
    <channel>
        <title>JavaRanch: Linux / UNIX</title>
        <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&amp;f=13</link>
        <description>A Friendly Place for Java Greenhorns</description>
        <image>
            <url>http://saloon.javaranch.com/ubb/moosefly.gif</url>
            <title>JavaRanch Big Moose Saloon</title>
            <link>http://saloon.javaranch.com/</link>
        </image>
        <language>en-us</language>
        <generator>JavaRanch RSS</generator>
        <copyright>Copyright 2007 Paul Wheaton. All Rights Reserved.</copyright>
        <item uniqueID="13-001911">
            <title>jar file execution</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001911</link>
            <description>I have developed a swing application and executing under linux environment. jar file is present under /deo/temp/testing.jar. I have two issues to share now.&lt;br /&gt; &lt;br /&gt;1. If I execute my jar file under /deo/temp&amp;gt; java -jar testing.jar, I am able to see my application start running. But if I try like /deo&amp;gt;java -jar /temp/testing.jar, I get the error message "Main method not found"&lt;br /&gt;How do I resolve this problem?&lt;br /&gt; &lt;br /&gt;2. How do I create an icon so that when the user clicks the jar file, it starts executing. In windows, as I have developed using netbeans, if I double click the ajr file found under dist folder, the program starts executing. As the users are not aware of using command line prompt, I am supposed to make an icon ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001911</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001911Gopu Akraju</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 21:18:57 MDT</pubDate>
        </item>
        <item uniqueID="13-001910">
            <title>jar file execution in linux.</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001910</link>
            <description>I have opened a topic under http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=33&amp;t=026491, (http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=33&amp;t=026491,) but then realised this might be an apt place.&lt;br /&gt; &lt;br /&gt;I have created a swing application under windows enviroment using netbeans. It works perfectly fine when I double click the jar file. Then I moved my source code under linux machine /home/userrig/temp/testing.jar. If I chane my dir to cd /home/deo/temp and start executing jar like &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;java -jar testing.jar &lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;, swing application starts executing. But if I try to start the swing application under /home like&lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;java ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001910</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001910Gopu Akraju</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 21:14:57 MDT</pubDate>
        </item>
        <item uniqueID="13-001909">
            <title>Default web user</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001909</link>
            <description>In Windows, the default web user is IUSR_*****. If I'm setting up permissions for the internet user for a Linux machine what is the typical username in there that would correspond to that? Is there additional steps needed for Linux setups?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001909</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001909Rob Hunter</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 11:24:53 MDT</pubDate>
        </item>
        <item uniqueID="13-001907">
            <title>What command to call app for mimetype</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001907</link>
            <description>What command/program can I execute in a script to call the application associated with a mimetype/file extension? Like when you are in a File browser and you "open" a file.&lt;br /&gt;The syntax in a script file would be: &lt;start-app&gt; &lt;a-file&gt;&lt;br /&gt;The coding would be: &lt;start-app&gt; $1&lt;br /&gt; &lt;br /&gt;For example, if &lt;a-file&gt; were: Something.html&lt;br /&gt;then &lt;start-app&gt; would start a browser and have it open Something.html&lt;br /&gt; &lt;br /&gt;Another example, if &lt;a-file&gt; were: Picture.jpg&lt;br /&gt;then &lt;start-app&gt; would start an image program and have it open Picture.jpg&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Norm</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001907</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001907Norm Radder</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 09:12:53 MDT</pubDate>
        </item>
        <item uniqueID="13-001908">
            <title>Environment variables in geany</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001908</link>
            <description>Is it possible to use Enviroment variables when using the Execute button in geany?&lt;br /&gt;I have a script: /home/me/bin/nt with /home/me/bin being on the PATH variable.&lt;br /&gt;The nt script uses several environment variables. I've tested it from a terminal commandline and it works.&lt;br /&gt;But when I use it from geany via the Execute button, the environment variables come up empty.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001908</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001908Norm Radder</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 09:12:52 MDT</pubDate>
        </item>
        <item uniqueID="13-001906">
            <title>Write a cron job to call struts action class</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001906</link>
            <description>I would like to write a cron job in the Linux server that calls my foo.action class that has code that I want to run once in a day. How can I do that?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001906</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001906Komal Khanna</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 14:42:47 MDT</pubDate>
        </item>
        <item uniqueID="13-001905">
            <title>Need Help to install java5 on Redhat linux 9</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001905</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I am totally new to linux, can anyone let me know how to install java5 on rehat linux 9 , and how to work with java on linux like setting path and any other environment variables if necessary.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Thanks in advance,&lt;br /&gt;Sekhar choudary</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001905</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001905Sekhar Choudary</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 10:18:46 MDT</pubDate>
        </item>
        <item uniqueID="13-001904">
            <title>Skinny Java IDE for Linux (Ubuntu)</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001904</link>
            <description>Can you recommend a skinny Java IDE for Java?&lt;br /&gt;I installed netbeans but its way to big and structured.&lt;br /&gt;All I need is an editor that knows and highlights Java syntax and that has commmandline access that I can prime to compile and execute programs.&lt;br /&gt; &lt;br /&gt;thanks,</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001904</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001904Norm Radder</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 11:58:31 MDT</pubDate>
        </item>
        <item uniqueID="13-001903">
            <title>I like Ubuntu 8.04</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001903</link>
            <description>I just installed the heron on an external drive and I like it. It is fast, clean and easy so far. Running noticeably faster than my 7.10 installation, although it isn't really fair to compare a clean install to an old one.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001903</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001903David O'Meara</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 05:58:28 MDT</pubDate>
        </item>
        <item uniqueID="13-001902">
            <title>Invalid Argument and solaris</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001902</link>
            <description>This is strange. I tried to install glassfish in solaris 10 and it returned the message invalid argument. I'm logged on as root and the program has execute permission. Do you have any ideas? Thanks</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001902</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001902Ong Vua</comments>
            <author/>
            <pubDate>Wed, 30 Apr 2008 10:52:22 MDT</pubDate>
        </item>
        <item uniqueID="13-001901">
            <title>How to install SUN JDK1.6 on Fedora</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001901</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;Every linux distribution comes with a default JDK( normally Eclipse). I want to install SUN JDK1.6 on Fedora and then want to install NETBEANS 6. But after i execute the file - "jdk-6u3-linux-i586.bin" in the TERMINAL, I STILL Have THE GOOD OLD ECLIPSE JDK in my PC. &lt;br /&gt;The jdk that i installed has just extracted to a folder named "jdk1.6.0_03" in the "HOME FOLDER". I DO NOT KNOW HOW TO DO THE PATH SETTING AND THE REST OF STUFF.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;CAN ANYONE PLEASE TELL ME HOW TO INSTALL JDK AND NETBEANS IN LINUX (FEDORA 7) ???????&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Thanks</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001901</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001901Karthik N Murthy</comments>
            <author/>
            <pubDate>Mon, 28 Apr 2008 10:18:15 MDT</pubDate>
        </item>
        <item uniqueID="13-001900">
            <title>Running ANT on Linux</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001900</link>
            <description>Hello everyone!&lt;br /&gt; &lt;br /&gt;I need your help on running the ant task on Linux box. It might sound simple (and so it was for me), however, things turned out to be rather ugly. Any kind of help is appreciated. Now, here's what I'm trying to do:&lt;br /&gt; &lt;br /&gt;Suppose I have a build.xml script, which includes a following task:&lt;br /&gt;&lt;xslt basedir="..."&lt;br /&gt; destdir="..." &lt;br /&gt; includes="*.*" &lt;br /&gt; extension=".xml&lt;br /&gt; style="ContentCleanup.xsl"/&gt;&lt;br /&gt; &lt;br /&gt;Basically, what it supposed to is to grab all the XML files from the base directory, run it through the aforementioned XSL file and output the results to the destination directory. Short and simple. However, there are thousands of these files to process and to get...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001900</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001900Boris Golman</comments>
            <author/>
            <pubDate>Thu, 24 Apr 2008 10:40:03 MDT</pubDate>
        </item>
        <item uniqueID="13-001899">
            <title>Linux/J2EE questions</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001899</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;First of all, let me preface my questions by saying that I have tinkered with various versions of Linux over the years, but this is the first time that I've done anything like install j2ee on Linux. But, I've installed j2ee on several Win machines so I do have experience there. Having said all this, let's get on to the questions that I have.&lt;br /&gt; &lt;br /&gt;1. This is more of a basic Linux question, but applies because of the situation. Do you have to uninstall j2ee from Linux if you want it to exist in another folder or can you just move it lock, stock and barrel?&lt;br /&gt; &lt;br /&gt;2. As I stated, I've often installed j2ee on a Win machine, so I'm familiar with the necessary configurations that have to be set up in order for Java to ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001899</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001899Dave Berkheimer</comments>
            <author/>
            <pubDate>Thu, 24 Apr 2008 09:54:03 MDT</pubDate>
        </item>
        <item uniqueID="13-001898">
            <title>Problem in javax.swing.*</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001898</link>
            <description>Hi&lt;br /&gt;i installed java in linux i am new to Linux&lt;br /&gt;i have a application in java which use javax.swing.*,&lt;br /&gt;if i run that its giving ClassNotFoundExecption for JFrame.&lt;br /&gt;i think its classpath problem &lt;br /&gt;can you help how can i fix this.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001898</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001898Pavithra Papi</comments>
            <author/>
            <pubDate>Wed, 23 Apr 2008 00:15:48 MDT</pubDate>
        </item>
        <item uniqueID="13-001897">
            <title>Linux / Vista</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001897</link>
            <description>Is it possible to install Windows Vista and linux together in the system?&lt;br /&gt;This means dual operating system in the system.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001897</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001897Abhishek Purwar</comments>
            <author/>
            <pubDate>Tue, 22 Apr 2008 07:25:45 MDT</pubDate>
        </item>
        <item uniqueID="13-001896">
            <title>environment variables in unix</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001896</link>
            <description>In man pages of grep command environment variables are give.&lt;br /&gt;How we can use those environment variables in grep command?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001896</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001896minal silimkar</comments>
            <author/>
            <pubDate>Fri, 18 Apr 2008 05:12:20 MDT</pubDate>
        </item>
        <item uniqueID="13-001895">
            <title>named character classes in grep</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001895</link>
            <description>I want to know how to use named charactes classes with grep command?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001895</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001895minal silimkar</comments>
            <author/>
            <pubDate>Fri, 18 Apr 2008 05:00:20 MDT</pubDate>
        </item>
        <item uniqueID="13-001894">
            <title>Environment variable in linux</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001894</link>
            <description>The environment variable where i store the xml files physical path then in the connections.java class i read the environment variable and pass it to the confighandler.java&lt;br /&gt;Here is the code for the above.&lt;br /&gt;String path=System.getenv("CONFIG_PATH").toString();//read the environment variable named CONFIG_PATH&lt;br /&gt;filePath=new File(path).toURI().toString();&lt;br /&gt;and pass it on to the ConfigHandler&lt;br /&gt;ConfigHandler config=new ConfigHandler(filePath);&lt;br /&gt;I have created the environment variable in windows where i store the physical path of the Config.xml file, I am able to read the path of the environment variable in windows but not in linux redhat 5 server&lt;br /&gt;The prob is that i need to deploy it on the linux redhat 5 server.&lt;br /&gt;o...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001894</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001894</comments>
            <pubDate>Fri, 11 Apr 2008 23:35:10 MDT</pubDate>
        </item>
        <item uniqueID="13-001893">
            <title>Using Java in Linux</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001893</link>
            <description>I have downloaded JDK6 and installed it, but when I try to do javac &lt;filename&gt; I get this.&lt;br /&gt; &lt;br /&gt;The program 'javac' can be found in the following packages:&lt;br /&gt; * gcj-4.1&lt;br /&gt; * jikes-sun&lt;br /&gt; * jikes-sablevm&lt;br /&gt; * gcj-4.2&lt;br /&gt; * kaffe&lt;br /&gt; * jikes-classpath&lt;br /&gt; * java-gcj-compat-dev&lt;br /&gt; * ecj&lt;br /&gt; * j2sdk1.4&lt;br /&gt; * jikes-gij&lt;br /&gt; * jikes-kaffe&lt;br /&gt; * sun-java5-jdk&lt;br /&gt; * sun-java6-jdk&lt;br /&gt;Try: sudo apt-get install &amp;lt;selected package&amp;gt;&lt;br /&gt;bash: javac: command not found&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;I have tried it at my desktop(where the java file is saved) and I have tried it in the bin folder where javac is actually found and it still does not work. Any Ideas? I have used Netbeans and it compiles fine so I'm pretty sure ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001893</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001893</comments>
            <pubDate>Thu, 10 Apr 2008 20:33:06 MDT</pubDate>
        </item>
        <item uniqueID="13-001892">
            <title>Get memory usage of a pid....</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001892</link>
            <description>I have an application, called BASE, running on a Unix machine. I have second application, called TESTER, running on a Windows machine. TESTER provides load testing for BASE.&lt;br /&gt; &lt;br /&gt;Is there a way, from within TESTER, to use Java to get the CPU Usage and memory footprint of BASE from UNIX remotely?&lt;br /&gt; &lt;br /&gt;Thank you for your advice and response in advance!&lt;br /&gt; &lt;br /&gt;JD</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001892</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=13&amp;t=001892</comments>
            <pubDate>Thu, 10 Apr 2008 09:15:05 MDT</pubDate>
        </item>
    </channel>
</rss>
