forums.xandros.com Forum Index forums.xandros.com
Xandros User Forums
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

trying to install Laszlo, need to set JAVA_HOME

 
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Developer Tools
View previous topic :: View next topic  
Author Message
web_dev
Xandrosianling
Xandrosianling


Joined: 24 Jan 2006
Posts: 474
Location: Pennsylvania

PostPosted: Sat Apr 22, 2006 1:16 pm    Post subject: trying to install Laszlo, need to set JAVA_HOME Reply with quote

Hey, I want to install Laszlo, and to do this I need to set my JAVA_HOME, which is easy enough to do, but I can't find where I put my Java system dir (not my apps dir!) I tried searching for Java, JDK, SDK, J2sdk, etc....I installed the latest SDK a few months ago (which may not be the latest now.) Anyone know where I might find it or what it is probably called? Embarassed
_________________
Welcome to the friendly XandrOS forums!
Registered Linux user #407955
Back to top
View user's profile Send private message
shengchieh
Xandrosianschwing


Joined: 11 Jan 2004
Posts: 2382
Location: Palo Alto, CA

PostPosted: Sat Apr 22, 2006 7:15 pm    Post subject: Reply with quote

On my system,

$ whereis java
java: /usr/bin/java /usr/local/java /opt/j2re1.4.2_01/bin/java

Also,

$ ls -l /usr/bin/java
lrwxrwxrwx 1 root root 26 2006-01-21 05:25 /usr/bin/java -> /opt/j2re1.4.2_01/bin/java

so I guess my java is in /opt/j2re1.4.2_01.

On a console, type

whereis java

If you don't have java, get it from Sun's site,

https://sdlc6b.sun.com/ECom/EComActionServlet;jsessionid=7F28E84C44C0D1D9CA5E12CAAA47293D

Sheng-Chieh
_________________
Back to top
View user's profile Send private message Visit poster's website
web_dev
Xandrosianling
Xandrosianling


Joined: 24 Jan 2006
Posts: 474
Location: Pennsylvania

PostPosted: Sat Apr 22, 2006 10:08 pm    Post subject: Reply with quote

Quote:
so I guess my java is in /opt/j2re1.4.2_01.


Ok, I'm definitely an idiot Embarassed

I did whereis Java last night and I looked at every line but this one (must have been tired cuz it was late!)

Code:
/opt/j2re1.4.2_06/bin/java


then I did:

Code:
ls -l /usr/bin/java
lrwxrwxrwx  1 root root 22 2006-02-13 14:47 /usr/bin/java -> /etc/alternatives/java


So I should set JAVA_HOME to /opt/j2re1.4.2_06/ right?
_________________
Welcome to the friendly XandrOS forums!
Registered Linux user #407955
Back to top
View user's profile Send private message
web_dev
Xandrosianling
Xandrosianling


Joined: 24 Jan 2006
Posts: 474
Location: Pennsylvania

PostPosted: Sat Apr 22, 2006 10:51 pm    Post subject: Reply with quote

wait that's not right...that's my jre...where is my jdk???

I know it's working because I installed the jdk a while ago, and set my path:

Code:
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games


And I have javac-ed and ran about 20 different programs since then, and just checked it now and it still works!
_________________
Welcome to the friendly XandrOS forums!
Registered Linux user #407955
Back to top
View user's profile Send private message
web_dev
Xandrosianling
Xandrosianling


Joined: 24 Jan 2006
Posts: 474
Location: Pennsylvania

PostPosted: Wed Apr 26, 2006 9:12 am    Post subject: Reply with quote

Can anyone help me here? I have tried searching for j2, etc. Also it may be important to note that my Java version includes SableVM. What directory do I need to set my JAVA_HOME to? I know I had some kind of j2 directory before, where the (bleep) did it go??
Hope someone can help... Confused
_________________
Welcome to the friendly XandrOS forums!
Registered Linux user #407955
Back to top
View user's profile Send private message
web_dev
Xandrosianling
Xandrosianling


Joined: 24 Jan 2006
Posts: 474
Location: Pennsylvania

PostPosted: Wed Apr 26, 2006 2:19 pm    Post subject: Reply with quote

Ok, did a little research and found out that SableVM is the JVM that Eclipse uses...since I uninstalled Eclipse it must have not uninstalled SableVM...however I installed the JDK separately from Sun, so my machine must be configured to use both? I am confused, so now I am searching for a SableVM folder...
_________________
Welcome to the friendly XandrOS forums!
Registered Linux user #407955
Back to top
View user's profile Send private message
web_dev
Xandrosianling
Xandrosianling


Joined: 24 Jan 2006
Posts: 474
Location: Pennsylvania

PostPosted: Thu Jun 15, 2006 1:23 pm    Post subject: Reply with quote

Well this was very strange, I ended up finding out that both my java and javac are in my sableVM directory!! Anyhow, after struggling with this I ended up installing it in windoze and it works perfectly. Laszlo is by far the only app I have ever had an easier time installing/using in windows than in Linux.
_________________
Welcome to the friendly XandrOS forums!
Registered Linux user #407955
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Developer Tools All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group