Announcement

Collapse
No announcement yet.

How to start Java-Programs

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

    How to start Java-Programs

    I have a Java-Programm working in Windows with the JRE (Java Runtime Environment).
    Is there in Kubuntu Java integrated or must i install Java manually - and when how?
    Regards...

    #2
    Re: How to start Java-Programs

    Hello,
    You can use Synaptic/adept.. to see what is installed or what is available to install (search java). I have installed it for my on because I want the latest version of Java from Sun, but I noticed that there was a lot of java software installed by default (compiler...).

    In the other hand, if you are using Sun's jre, to start a java program try java name or java -jar name (be sure to have java in your path). Other's java implemetations may change.

    Bye.

    Comment


      #3
      Re: How to start Java-Programs

      also, to hotswap between Java versions 1.4 and 1.5 (if you happen to have both installed) the command is:
      Code:
      sudo update-alternatives --config java
      then press the number for which app should provide java and hit enter to save and quit.
      <br /><br />*temp. hiatus from forums due to comp + net broken* :&#039;(

      Comment


        #4
        Re: How to start Java-Programs

        Question about running Java programs:

        When I run a Java program from Konqueror, the new window that launches doesn't have a window border. But when I run the same program from Firefox, it has a border. Is there a setting I must configure to make the window have a border?
        Jucato&#39;s Data Core

        Comment


          #5
          Re: How to start Java-Programs

          Originally posted by ghotam
          Hello,
          You can use Synaptic/adept.. to see what is installed or what is available to install (search java). I have installed it for my on because I want the latest version of Java from Sun, but I noticed that there was a lot of java software installed by default (compiler...).

          In the other hand, if you are using Sun's jre, to start a java program try java name or java -jar name (be sure to have java in your path). Other's java implemetations may change.

          Bye.
          I installed now some java-programs or part of java via Adept but i get errors starting my Java-Program. In other Unix- and Linux-derivates there is no problem starting my program.
          Is there anyone who knows something about these errors (wikifon is the name)?
          X Error: BadDevice, invalid or uninitialized input device 168
          Major opcode: 145
          Minor opcode: 3
          Resource id: 0x0
          Failed to open device
          X Error: BadDevice, invalid or uninitialized input device 168
          Major opcode: 145
          Minor opcode: 3
          Resource id: 0x0
          Failed to open device
          Exception in thread "main" java.lang.NoSuchMethodError: method de.graves.wikifon.gui.Splash.setAlwaysOnTop with signature (Z)V was not found.
          at de.graves.wikifon.gui.Splash.initComponents(Splash .java:271)
          at de.graves.wikifon.gui.Splash.<init>(Splash.java:78 )
          at de.graves.wikifon.gui.Splash.main(Splash.java:321)
          Regards...

          Comment

          Working...
          X