Re: [newbie] Mandrake Doesn't Support Java
To get java apps to work, you'll typically need a "Java Virtual Machine" to run it with. checkout http://www.blackdown.org for the jdk1.2 download, which is the latest JVM used to run java code. Pak "Joseph S. Gardner" wrote: Denis Havlik wrote: :~I decided to make the Subject more confrontational, since my previous gentle request didn't get a reply. g :~ :~I have a Java app, Moneydance, which serves me well for my personal and small business finances. As a Java app, it runs in both Windows and Corel Linux. When I couldn't get it work in Mandrake, I couldn't find the java files that needed to be there. I was amazed that an "everything but the kitchen sink" installation didn't include Java. :~ :~So, are any of you running Java apps in 7.0? How did you manage it? :~ Where can I get this app. Have to try it out to see why it doesn't work Denis -- - Mag^H^H^HDr. Denis Havlik http://www.ap.univie.ac.at/users/havlik Mandrakesoft||| e-mail: [EMAIL PROTECTED] Austria(@ @) tel: (++431) 4277/51179 ---oOO--(_)--OOo- Denis, sorry this took so long to get to http://seanreilly.com/java/moneydance/features.html I'd like to get moneydance runnig as well, it's the only thing holding me back from dumping all my M$ stuff. let know if you figure it out (in dummies - speak of course) -- Joseph S. Gardner Senior Designer / Technical Support Kirby Co., Cleveland, OH [EMAIL PROTECTED] Linux is like a wigwam... No windows, no gates. Apache inside Registered linux user #1696600 ICQ #63389227
Re: [newbie] Mandrake Doesn't Support Java
Denis Havlik wrote: :~I decided to make the Subject more confrontational, since my previous gentle request didn't get a reply. g :~ :~I have a Java app, Moneydance, which serves me well for my personal and small business finances. As a Java app, it runs in both Windows and Corel Linux. When I couldn't get it work in Mandrake, I couldn't find the java files that needed to be there. I was amazed that an "everything but the kitchen sink" installation didn't include Java. :~ :~So, are any of you running Java apps in 7.0? How did you manage it? :~ Where can I get this app. Have to try it out to see why it doesn't work Denis -- - Mag^H^H^HDr. Denis Havlik http://www.ap.univie.ac.at/users/havlik Mandrakesoft||| e-mail: [EMAIL PROTECTED] Austria(@ @) tel: (++431) 4277/51179 ---oOO--(_)--OOo- Denis, sorry this took so long to get to http://seanreilly.com/java/moneydance/features.html I'd like to get moneydance runnig as well, it's the only thing holding me back from dumping all my M$ stuff. let know if you figure it out (in dummies - speak of course) -- Joseph S. Gardner Senior Designer / Technical Support Kirby Co., Cleveland, OH [EMAIL PROTECTED] Linux is like a wigwam... No windows, no gates. Apache inside Registered linux user #1696600 ICQ #63389227
Re: [newbie] Mandrake Doesn't Support Java
Jeremy said: :~I have a Java app, Moneydance, which serves me well for my personal and small business finances. As a Java app, it runs in both Windows and Corel Linux. When I couldn't get it work in Mandrake, I couldn't find the java files that needed to be there. I was amazed that an "everything but the kitchen sink" installation didn't include Java. I remember hearing that it works well with IBM's Java, which is available for free. I'm pleased to report that it's working well with the blackdown jre. -- Lane Lane Lester / Madison County, Georgia USA Using Linux to get where I want to go...
Re: [newbie] Mandrake Doesn't Support Java
This may be of some interest to the people following this thread. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Java(tm) Binary Kernel Support for Linux v1.02 -- Linux beats them ALL! While all other OS's are TALKING about direct support of Java Binaries in the OS, Linux is doing it! You can execute Java applications and Java Applets just like any other program after you have done the following: 1) You MUST FIRST install the Java Developers Kit for Linux. The Java on Linux HOWTO gives the details on getting and installing this. This HOWTO can be found at: ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/Java-HOWTO You should also set up a reasonable CLASSPATH environment variable to use Java applications that make use of any nonstandard classes (not included in the same directory as the application itself). 2) You have to compile BINFMT_MISC either as a module or into the kernel (CONFIG_BINFMT_MISC) and set it up properly. If you choose to compile it as a module, you will have to insert it manually with modprobe/insmod, as kerneld can not easy be supported with binfmt_misc. Read the file 'binfmt_misc.txt' in this directory to know more about the configuration process. 3) Add the following configuration items to binfmt_misc (you should really have read binfmt_misc.txt now): support for Java applications: ':Java:M::\xca\xfe\xba\xbe::/usr/local/java/bin/javawrapper:' support for Java Applets: ':Applet:E::html::/usr/local/java/bin/appletviewer:' or the following, if you want to be more selective: ':Applet:M::!--applet::/usr/local/java/bin/appletviewer:' Of cause you have to fix the path names, if you installed the JDK at another place than /usr/local/java. Note, that for the more selective applet support you have to modify existing html-files to contain !--applet-- in the first line ('' has to be the first character!) to let this work! For the compiled Java programs you need a wrapper script like the following (this is because Java is broken in case of the filename handling), again fix the path names, both in the script and in the above given configuration string: == Cut here === #!/bin/bash # /usr/local/java/bin/javawrapper - the wrapper for binfmt_misc/java CLASS=$1 # if classname is a link, we follow it (this could be done easier - how?) if [ -L $1 ] ; then CLASS=`ls --color=no -l $1 | tr -s '\t ' ' ' | cut -d ' ' -f 11` fi CLASSN=`basename $CLASS .class` CLASSP=`dirname $CLASS` FOO=$PATH PATH=$CLASSPATH if [ -z `type -p -a $CLASSN.class` ] ; then # class is not in CLASSPATH if [ -e $CLASSP/$CLASSN.class ] ; then # append dir of class to CLASSPATH if [ -z ${CLASSPATH} ] ; then export CLASSPATH=$CLASSP else export CLASSPATH=$CLASSP:$CLASSPATH fi else # uh! now we would have to create a symbolic link - really # ugly, i.e. print a message that one has to change the setup echo Hey! This is not a good setup to run $1 ! exit 1 fi fi PATH=$FOO shift /usr/local/java/bin/java $CLASSN $@ == Cut here === Now simply chmod +x the .class and/or .html files you want to execute. To add a Java program to your path best put a symbolic link to the main .class file into /usr/bin (or another place you like) omitting the .class extension. The directory containing the original .class file will be added to your CLASSPATH during execution. To test your new setup, enter in the following simple Java app, and name it HelloWorld.java: class HelloWorld { public static void main(String args[]) { System.out.println(Hello World!); } } Now compile the application with: javac HelloWorld.java Set the executable permissions of the binary file, with: chmod 755 HelloWorld.class And then execute it: ./HelloWorld.class To execute Java Applets, simple chmod the *.html files to include the execution bit, then just do ./Applet.html originally by Brian A. Lantz, [EMAIL PROTECTED] heavily edited for binfmt_misc by Richard GĀnther. At 16:38 00-03-06 -0500, you wrote: I decided to make the Subject more confrontational, since my previous gentle request didn't get a reply. g I have a Java app, Moneydance, which serves me well for my personal and small business finances. As a Java app, it runs in both Windows and Corel Linux. When I couldn't get it work in Mandrake, I couldn't find the java files that needed to be there. I was amazed that an everything but the kitchen sink installation didn't include Java. So, are any of you running Java apps in 7.0? How did you manage it? -- Lane Lane Lester / Madison County, Georgia USA Using Linux to get where I want to go... - If you kiss me, I'll turn into a beautiful princess. - Look, I'm a computer programmer. I don't have time for girls, but a talking frog is very very cool. ...and on the seventh day, God turned off
Re: [newbie] Mandrake Doesn't Support Java
Denis Havlik wrote: :~I decided to make the Subject more confrontational, since my previous gentle request didn't get a reply. g :~ :~I have a Java app, Moneydance, which serves me well for my personal and small business finances. As a Java app, it runs in both Windows and Corel Linux. When I couldn't get it work in Mandrake, I couldn't find the java files that needed to be there. I was amazed that an "everything but the kitchen sink" installation didn't include Java. :~ :~So, are any of you running Java apps in 7.0? How did you manage it? :~ Where can I get this app. Have to try it out to see why it doesn't work I remember hearing that it works well with IBM's Java, which is available for free.
Re: [newbie] Mandrake Doesn't Support Java
:~I decided to make the Subject more confrontational, since my previous gentle :request didn't get a reply. g :~ :~I have a Java app, Moneydance, which serves me well for my personal and small :business finances. As a Java app, it runs in both Windows and Corel Linux. When I :couldn't get it work in Mandrake, I couldn't find the java files that needed to be :there. I was amazed that an "everything but the kitchen sink" installation didn't :include Java. :~ :~So, are any of you running Java apps in 7.0? How did you manage it? :~ Where can I get this app. Have to try it out to see why it doesn't work Denis -- - Mag^H^H^HDr. Denis Havlik http://www.ap.univie.ac.at/users/havlik Mandrakesoft||| e-mail: [EMAIL PROTECTED] Austria(@ @) tel: (++431) 4277/51179 ---oOO--(_)--OOo-
Re: [newbie] Mandrake Doesn't Support Java
bosco said: So, are any of you running Java apps in 7.0? How did you manage it? If I'm not mistaken, you would need a JavaVM right? Well, since I don't do any programming, I just need a Java runtime called JRE. I'm downloading the one from blackdown as Richard suggested, so here's hoping. -- Lane Lane Lester / Madison County, Georgia USA Using Linux to get where I want to go...
Re: [newbie] Mandrake Doesn't Support Java
Sorry about the mix up. Guavac is free java compiler while kaffe is a free virtual machine. It seems that when using kaffe, you have specify the class path. I don't know where the class files are and thats probably why I never got it to work. Richard On Tue, 07 Mar 2000, you wrote: Richard said: I think LM 7.0 ships with gauvac(?). Since I do a little Java programming I downloaded the latest 1.2.2 release candidate from www.blackdown.org. Try that. Other than that, what errors are you getting? Is guavac a Java runtime? The error that my script gives is: Couldn't find or load essential class `java/lang/Object' java.lang.NoClassDefFoundError java/lang/Object I notice that if I just run java, I get: [root@localhost /root]# java usage: kaffe [-options] class So what's kaffe? Should I be pointing my script there for classes and such? -- Lane Lane Lester / Madison County, Georgia USA Using Linux to get where I want to go...
Re: [newbie] Mandrake Doesn't Support Java
Lane Lester wrote: I decided to make the Subject more confrontational, since my previous gentle request didn't get a reply. g I have a Java app, Moneydance, which serves me well for my personal and small business finances. As a Java app, it runs in both Windows and Corel Linux. When I couldn't get it work in Mandrake, I couldn't find the java files that needed to be there. I was amazed that an "everything but the kitchen sink" installation didn't include Java. So, are any of you running Java apps in 7.0? How did you manage it? -- Lane Lane Lester / Madison County, Georgia USA Using Linux to get where I want to go... If I'm not mistaken, you would need a JavaVM right? This is a good topic as I needed help as well.. Does anyone know of some sites that explain running ICQ for Linux b/c ICQ's website was sorely lacking. But you have to download a JavaVM and compile it.. Anyhelp would be greatly appreciated! Thanks, bosco
Re: [newbie] Mandrake Doesn't Support Java
I think LM 7.0 ships with gauvac(?). Since I do a little Java programming I downloaded the latest 1.2.2 release candidate from www.blackdown.org. Try that. Other than that, what errors are you getting? Richard On Mon, 06 Mar 2000, you wrote: I decided to make the Subject more confrontational, since my previous gentle request didn't get a reply. g I have a Java app, Moneydance, which serves me well for my personal and small business finances. As a Java app, it runs in both Windows and Corel Linux. When I couldn't get it work in Mandrake, I couldn't find the java files that needed to be there. I was amazed that an "everything but the kitchen sink" installation didn't include Java. So, are any of you running Java apps in 7.0? How did you manage it? -- Lane Lane Lester / Madison County, Georgia USA Using Linux to get where I want to go...