LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   azureus and crossover office (https://www.linuxquestions.org/questions/linux-newbie-8/azureus-and-crossover-office-280881/)

liljhand 01-22-2005 11:53 AM

azureus and crossover office
 
whilw trying to run azureus by clicking the icon nothin happens(it used to start earlier when i used to do this . but when i tried doing it from console it said:
Starting Azureus...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2_05]
Configuring environment...
Loading Azureus:
./azureus: line 103: cd: /home/suhail/My: No such file or directory
java -Xms16m -Xmx128m -cp "/home/suhail/My:Installed:Stuff/azureus/*.jar" -Djava.library.path="/home/suhail/My Installed Stuff/azureus" -Dazureus.install.path="/home/suhail/My Installed Stuff/azureus" org.gudy.azureus2.ui.swt.Main 'JAVA_PROGRAM_DIR'
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main
Azureus TERMINATED.

what does it mean and whats the possible solution.

also i just installed croosover office and i cant find it anywhere. i just know it installed in ‎/opt/cxoffice and when i go there i see many directories called bin, doc, etc, lib and support. how am i supposed to open it

bigjohn 01-23-2005 09:35 AM

Cant say about the first part of your question - I know nothing about it, but When I installed Xoveroffice, I did it in the /home/user directory, which gave me the appropriate start menu icons.

Have you thought about checking here you may well find what you're looking for there.

regards

John

liljhand 01-23-2005 09:53 AM

Quote:

Originally posted by bigjohn
Cant say about the first part of your question - I know nothing about it, but When I installed Xoveroffice, I did it in the /home/user directory, which gave me the appropriate start menu icons.

Have you thought about checking here you may well find what you're looking for there.

regards

John


thanks man it helped. cheers

El Basto 01-23-2005 01:31 PM

Re: azureus and crossover office
 
Quote:

Originally posted by liljhand
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main
[/B]
Basically all of the code for Azureus is distributed in a jar file (like a zip file) called Azureus2.jar. When it goes to run it finds all of the different classes within that jar file. Azureus2.jar/org/gudy/azureus2/ui/swt/Main must have been missing. I would recomend re-downloading it and trying it again.

Electro 01-23-2005 03:42 PM

Quote:

Starting Azureus...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2_05]
Configuring environment...
Loading Azureus:
./azureus: line 103: cd: /home/suhail/My: No such file or directory
java -Xms16m -Xmx128m -cp "/home/suhail/My:Installed:Stuff/azureus/*.jar" -Djava.library.path="/home/suhail/My Installed Stuff/azureus" -Dazureus.install.path="/home/suhail/My Installed Stuff/azureus" org.gudy.azureus2.ui.swt.Main 'JAVA_PROGRAM_DIR'
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main
Azureus TERMINATED.
Just means it can not find azureus.jar in /home/suhail/My. This is normal and it is not corrupted. You just need to go into azureus directory and type ./azureus. Also the azureus script is not design for directories with spaces, so rename the directory.


I wrote a script so I can run it by just typing azureus.
Code:

#!/bin/sh
AZUREUS_DIR=/usr/local/azureus
cd $AZUREUS_DIR
exec ./azureus
cd $OLD_PWD

Usually program files gets located in bin directories. The etc directories are usually where config live. Well common sense should tell that doc directories are documents or files that explains the options that you can use in config files.

No, jar files are not zip files. jar files are bytecode files that needs a helper program to run it. They are something like Basic files.

Does anybody have curisoity for Linux? Sheesh!!!

liljhand 01-23-2005 10:05 PM

Quote:

Originally posted by Electro
Just means it can not find azureus.jar in /home/suhail/My. This is normal and it is not corrupted. You just need to go into azureus directory and type ./azureus. Also the azureus script is not design for directories with spaces, so rename the directory.


I wrote a script so I can run it by just typing azureus.
Code:

#!/bin/sh
AZUREUS_DIR=/usr/local/azureus
cd $AZUREUS_DIR
exec ./azureus
cd $OLD_PWD

Usually program files gets located in bin directories. The etc directories are usually where config live. Well common sense should tell that doc directories are documents or files that explains the options that you can use in config files.

No, jar files are not zip files. jar files are bytecode files that needs a helper program to run it. They are something like Basic files.

Does anybody have curisoity for Linux? Sheesh!!!

thanks man, u made it easy

El Basto 01-24-2005 03:02 PM

Quote:

Originally posted by Electro
No, jar files are not zip files. jar files are bytecode files that needs a helper program to run it. They are something like Basic files.

Here is a quote from java.sun.com

"JAR files are packaged with the ZIP file format, so you can use them for "ZIP-like" tasks such as lossless data compression, archiving, decompression, and archive unpacking. These are among the most common uses of JAR files, and you can realize many JAR file benefits using only these basic features."

Jar's are not bytecode. .class files are bytecode, the result of compiling the java source code in a .java file. You can add anything you'd like to a jar file, just like a zip file, except jar's also have the manifest directory and file.

Anyways, I hope you got Azureus to run smoothly.

liljhand 01-24-2005 06:08 PM

ye its running smoothly now. thanks ta ya all


All times are GMT -5. The time now is 09:28 PM.