Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to instal the SAP terminal JavaGUI (PlatinGUI-Linux-630r2) on Mandrake Linux 9.2 on an ASUS S5200N laptop.
I installed the JRE (Sun v1.4.1), installed the Netscape 4 plugin (I wasn't sure which to use, but the NS6 plugin caused an error and NS4 didn't).
When trying to instal by running java -jar PlatinGui-Linux-630r2.jar, I get an error :
java.lang.NoClassDefFoundError: javax/swing/UIManager
at com.sap.platin.install.GuiInstall.main (GuiInstall.java:378)
at java.lang.reflect.Method.invoke0 (Method.java)
at java.lang.reflect.Method.invoke (Method.java:255)
at kaffe.jar.ExecJarName.main (ExecJarName.java:67)
at kaffe.jar.ExecJar.main (ExecJar.java:75)
I assume I have missed a step or stuffed something up, but I have little experience with Java - is this likely to be a path missing, or a glibc version issue or what?!?!!? Any ideas appreciated. I am a bit stuck!
Distribution: Debian Jessie, FreeBSD 10.1 anything *nix to get my fix
Posts: 329
Rep:
This is a lame reply but ... .jar files generally mean that a package will work so long as the Java Runtime Environment is set up. In theory the platform of your computer should not be important.
I think that you may have a problem with your JRE set up & would try obtaining the latest linux JRE and following the steps to install it.
I have looked around the web out of curiousity & found only 'freebsd' instructions for installing this product. Although in theory Java should run on anything, there may be underlying issues which are peculiar to Mandrake that might prevent you from sucessfully working this problem. If (in the unlikely event) you dont get a response from someone who has had direct experience with this, I would suggest posting the problem to a Mandrake specific forum.
I'm guessing that this line is suggesting that java can't find its classes. Since swing is pretty integral, I'm guessing that you don't have a CLASSPATH environment variable set up. Can you run other java programs?
Distribution: Mandrake 10, IPCOP 1.4, SME Server 6, EvilEntity
Posts: 106
Original Poster
Rep:
Thanks for the reponses. neillcpp - I am using Suns Java as the SAPGui instructions specify either of two versions of Sun Java, or one version of IBMs Java - very specific, and known problems are listed for each! The instructions for Sun Java are at http://java.sun.com/j2se/1.4.1/install-linux.html
I think you are correct as to the JRE setup - I just don't know whether I have stuffed something, or whether it is a Mandrake/glibc/java incompatibility issue.
Hangdog42 - I did not have CLASSPATH set, but setting this didn't result in any change to the error message - neither did running java with the classpath paramater. However, this sort of omission is likely to be the problem - any other ideas?
I guess I'd try a couple of things. First, I'd try running a different Java program to see if the problem is with Java or with SAPGui. jEdit is a nice text editor that is written in Java and I bet uses Swing for graphics. If it runs, then the problem is with SAPGui.
However, if jEdit doesn't run, the problem would seem to lie with Java (or maybe SAPGui is just a pain to run). In that case I would be real tempted to try a comparable version of Blackdown Java. For reasons I really don't fully understand, Blackdown Java sometimes works in situations where Sun's Java doesn't. I know that SAPGui suggests very specific versions of Java, but Blackdown Java is a full-fledged version of Java. I think that they've just compilied it in a more linux compatible manner. If you take this route, just be sure to point your PATH and CLASSPATH environment variables to the Blackdown Java directory.
Distribution: Mandrake 10, IPCOP 1.4, SME Server 6, EvilEntity
Posts: 106
Original Poster
Rep:
Thanks - I'll try these suggestions. I also found a number of threads regarding problems with java in Mandrake - it looks like there are a number of traps for the unwary noobie.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.