Journal NullProg's Journal: Java and Xubuntu
Since I've been messing around with eclipse/netbeans and Java programming I needed a way to run Java programs from the Xubuntu desktop. Yes, for those who know me, this old time C/C++/Assembler programmer is using Java to display custom graphics from a embedded device I've been working on.
While the Xubuntu file manager thunar associates
The following shell script will run them once you associate the
#!/bin/bash
infile=`echo $1|sed 's/\..\{5\}$//'`
infile2=`basename $infile`
basepath=`echo $1|sed 's/[^/]*$//'`
CLASSPATH=.:$basepath
cd $basepath
java -cp $CLASSPATH $infile2
Enjoy,
-------------------------
Update 09/22/08
Java class files run out of the box (so to speak) under XUbuntu 8.4.
No need for the script file above.
Java and Xubuntu More Login
Java and Xubuntu
Slashdot Top Deals