[jitsi-users] How to tell Jitsi the new Java Home?


#1

Hi all,

after cleaning up my JDKs on OSX (I found 3 of them installed in parallel — Apple, Sun & Oracle) the Jitsi app does not start any more and tells me:

kinnlaBook:MacOS till$ ./Jitsi
No Java runtime present, requesting install.

However, my Java seems properly installed:

kinnlaBook:MacOS till$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home
kinnlaBook:MacOS till$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

How to tell Jitsi the new Java Home?

I am worried about the user experience — uninstalling jitsi (moving the app to the recycling bin) and reinstalling it didn't help. What helped me was getting the master branch from github and running it with ant :slight_smile:

So maybe the java-detection could be made more robust? I assume that would mean an update of “launcher.m”, which already looks pretty sophisticated to me.

cheers,
Till


#2

Hi,

this launcher is not used right now. Currently we use the apple
launcher which is able to start only java 1.6. We will be activating
our launcher at some point so we can embed the java inside Jitsi. But
there is still little work to do there, like activating the splash and
fixing few bugs.
Hope this helps

Regards
damencho

···

On Tue, Mar 18, 2014 at 1:08 AM, Till Zoppke <zoppke@zedat.fu-berlin.de> wrote:

Hi all,

after cleaning up my JDKs on OSX (I found 3 of them installed in parallel -- Apple, Sun & Oracle) the Jitsi app does not start any more and tells me:

kinnlaBook:MacOS till$ ./Jitsi
No Java runtime present, requesting install.

However, my Java seems properly installed:

kinnlaBook:MacOS till$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home
kinnlaBook:MacOS till$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

How to tell Jitsi the new Java Home?

I am worried about the user experience -- uninstalling jitsi (moving the app to the recycling bin) and reinstalling it didn't help. What helped me was getting the master branch from github and running it with ant :slight_smile:

So maybe the java-detection could be made more robust? I assume that would mean an update of "launcher.m", which already looks pretty sophisticated to me.

cheers,
Till

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3

Can't OSX be made to start Java (.jar) apps upon double click like in
Windows?

In the Windows world, double clicking a .jar is the same as running "java
-jar appname.jar" that is it invokes the appname.jar and tries to execute
the default-class (it needs default-class defined in the manifest file).

So, if the above is possible maybe it'd be possible to offer Jitsi as a
single .JAR file which can be run via
java -jar jitsi.jar

??

Just thinking aloud...

FC

···

On Sun, Mar 23, 2014 at 1:26 PM, Damian Minkov <damencho@jitsi.org> wrote:

We will be activating
our launcher at some point so we can embed the java inside Jitsi. But
there is still little work to do there, like activating the splash and
fixing few bugs.
Hope this helps

--
During times of Universal Deceit, telling the truth becomes a revolutionary
act
Durante épocas de Engaño Universal, decir la verdad se convierte en un Acto
Revolucionario
- George Orwell