Announcement

Collapse
No announcement yet.

launching java programs

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    launching java programs

    Just migrated from WinXP to Kabuntu (7.10). I've been studying, searching and reading, and getting absolutely nowhere in my efforts to get these java programs running: jEdit, and Aptana Studio. I cannot even find any general documentation about this. In Windows, there is a load module - all setup gets done for you. Here, I unload a Linux download for, say jEdit, unpack it, and haven't a clue what to do next. There's no apparent way to launch it, and no documentation with the program to clear this up.

    One thing I found said that if I have Sun's java VM loaded (I do, via adept), I can just use a command line "java {progr. name}.jar" - but I need to make sure "it" is in my path. What is "it'? What path (I cannot find documentation on that either)?

    I'm surprised by the difficulty of all this, given the ubiquity of both java and linux.

    Can any one give me some suggestions? I appear to need to worry about my path, and also need assurance that the "java {filename}.jar" thing is right.

    Thanks!

    #2
    Re: launching java programs

    Install desired applications via Adept Manager (K Menu | Systems | Adept Manager). If the application you are looking for isn't listed in Adept Manger, it is probable that it isn't packaged for use in the version of *ubuntu you have installed.
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: launching java programs

      About path:

      Basic Linux Operations FAQ
      http://linux.about.com/od/linux101/l/blnewbie3_1_4.htm
      The PATH is the list of directories which are searched when you request the execution of a program. You can check your PATH using this command:
      echo $PATH

      Another path link:

      Adding a Directory to the Path
      http://www.troubleshooters.com/linux/prepostpath.htm


      I've been studying, searching and reading, and getting absolutely nowhere in my efforts to get these java programs running: jEdit, and Aptana Studio. I cannot even find any general documentation about this.
      man java ( in the konsole) tells:
      java(1) java(1)

      NAME
      java - the Java application launcher

      SYNOPSIS
      java [ options ] class [ argument ... ]
      java [ options ] -jar file.jar [ argument ... ]

      options
      Command-line options.

      class
      Name of the class to be invoked.

      file.jar
      Name of the jar file to be invoked. Used only with -jar.

      argument
      Argument passed to the main function.

      DESCRIPTION
      The java tool launches a Java application. It does this by starting a...
      You could use konqueror-> man:java

      => Java program Octagon starts:
      Code:
      :/media/sda2/octagon-1.5.beta/octagon$ java -jar octagon.jar
      (you are (konsole is) in the /media/sda2/octagon-1.5.beta/octagon/ )
      or
      Code:
      :~$ java -jar /media/sda2/octagon-1.5.beta/octagon/octagon.jar
      ( path to the java program)

      Link:
      Octagon - content based image retrieval software.
      http://octagon.viitala.eu/


      You can get info of commands in the konsole: man <command>
      Code:
      :~$ man man
      NAME
      man - an interface to the on-line reference manuals
      and in the konqueror: man:<command>
      man:man will tell:



      Even more - look down: The art ...
      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment

      Working...
      X