VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Java applications  (Read 1876 times)

KodeBlue

  • Member
  • *
  • Posts: 6
Java applications
« on: November 03, 2007, 02:05:49 pm »

Hi,

I have a java application that I have used under Windows and that I want to "migrate" to Linux.  I have downloaded and (maybe) installed the (Linux version of the) application, but can't seem to get it working.  Since it is dependent on Java, I thought I would check that first.  Sun's site said that I had version 1.5.0_09 installed, even after I installed 1.6.0.  The application says it requires at least version 1.4.2, so perhaps which exact version is installed is not critical.

I don't know how to "start" Java if it is not loaded on boot-up, and I'm also not sure if the application is "linked" properly to the Java.  Does it cause confusion if I have more than one java version on my system?  Do I have to "register" new programs after I install them?

As you may be able to tell, I am a newbie.  I am constantly downloading and installing new software in Windows, and need to be able to do the same eventually with Linux.

Thanks for any help you can give me.

Karen
Logged

lagagnon

  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1922
Re: Java applications
« Reply #1 on: November 03, 2007, 02:39:27 pm »

OK. Did you follow the directions at the download site for the isntallation procedure of that Java application. Often they are a self-installable script file ending .sh. If that is the case open a terminal, login as root (type "su", then your root password) and then type ./myprogramname.sh.

If the file type is something other than .sh let us know what it is. You can normally install Linux applications even easier than Windows ones if they are properly packaged. Check out "gslapt" on your system. There are a whole buhc of great applications which can be quickly downloaded and installed with one button click.
Logged
"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: Java applications
« Reply #2 on: November 03, 2007, 03:01:13 pm »

Also, if it is a .jar file, you can run it with "java -jar appname.jar".
Logged
O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10