

This release comes on only two CDs so some of the packages are missing. Its just something put together to show what we can expect from Mandrake 10.0. Please note that this release is not a beta release. This article refers to cooker snapshot as of December 31, 2003. With Kernel 2.6, KDE 3.2 beta and XFree86 4.4 beta, it doesn’t leave much to be desired. Now just change the line you added to the '.bashrc' file to point to '/home//java/bin' instead.Mandrake Linux 10.0-preview edition pretty much defines the shape of things to come in Linux land in 2004. If you want to rectify this you can move the installed JDK into your home directory by issuing the following command: mv /java /home//
MANDRAKE LINUX INSTALL
If you want to install something which can be accessed by any other user of the machine you should install it under the '/usr/local/' directory as the root user.
MANDRAKE LINUX SOFTWARE
You should install the JDK (or any software for use by you only) into your home directory. It is bad practice to install software into the root directory on Linux.

Simply add the command above to the end of this file. For example my '.bashrc' file is located in the following location '/home/kate/.bashrc'. This file is located in your home directory. To make this change permanent (so it is set automatically each time you start a new shell session) you need to place this into your '.bashrc' (bash resource) file. However when you close your shell session or begin a new one you will have to re-export this path.

To do this enter the command as below: export PATH=/java/bin/:$PATH You need to add '/java/bin/' to your sessions PATH environment variable. The reason that executing './javac hello.java' works (after you have copied hello.java into that directory and changed directory to that path) is because by placing './' in front of 'javac' overrides your PATH environment variable and instructs bash to search for the binary called 'javac' in the current working directly only, which of course it finds. The bash shell cannot locate the 'javac' binary because you have installed the JDK directly into the root directory. This is an error being raised by the bash shell, as it cannot locate an executable called 'javac' in the locations specified in your 'PATH' environment variable.īut when i'm copying the hello.java into /java/bin/ and cd to /java/bin/ and typing "./javac hello.java" it is creating hello.class and its working It lacks compatibility in many ways with the current releases of Java. This is the 'Kaffe Virtual Machine' environment and not much good for anything except taking up disk space. I suspect yours may be running '/usr/bin/java'. You can find which 'java' or 'javac' (or any command) will be run by bash by entering the following command: which įor instance, below is the output I get on my machine when I want to see which java binary will be run: which java The reason you are receiving the ' UnsupportedClassVersionError' is because the 'bash' shell is finding the default installed 'java' bundled with MDK (Mandrake) 10. the following are the typical outputs plz Clock]$ lsĬlock.class Clock.java Clock]$ javac Clock.javaīash: javac: command not Clock]$ java ClockĮxception in thread "main" : Clock (Unsupported major.minor version 49.0)Īt 0(Native Method)Īt (ClassLoader.java:537)Īt (SecureClassLoader.java:123)Īt (URLClassLoader.java:251)Īt $100(URLClassLoader.java:55)Īt $1.run(URLClassLoader.java:194)Īt (Native Method)Īt (URLClassLoader.java:187)Īt (ClassLoader.java:289)Īt $AppClassLoader.loadClass(Launcher.java:274)Īt (ClassLoader.java:235) but when i'm trying to use the comand "javac" it is not working. i have installed java compiler successfully.
