Well, I got it to stick and work now...
Probably not the best place for it but the only way I could get it to work:

Open your ~/.bashrc
And add these two lines somewhere:

JDSK=/usr/java/j2sdk1.4.2_07
PATH=$JDSK/bin:$PATH

It would not work for me unless the jdsk path was the first entry in the
$PATH variable :/

Save that and open a NEW bash prompt and type... echo $PATH to make sure its
there then eclipse should run without having to set the variable everytime.


-----Original Message-----
From: Ewok [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 15, 2005 11:08 AM
To: CF-Community
Subject: RE: Eclipse on Fedora Core 3

Ok, so I have it running now but only if I manually set my PATH var to 
# PATH=/usr/local/java/j2sdk1.4.2_07/bin

Then run it...

Anyone know what the ~/.bash_profile PATH section should look like to add
this path permanently?


After reading tons and tons of people with the same problem in posts that
went on for days and days then just ended with "Ok, I got it working now,
Bye" and no explanation as to HOW! Here is what I did...

Follow these instructions for installing j2sdk
http://mpeters.us/linux/j2sdk.php
(I didn�t bother creating my own RPM. I stopped there)

Then download eclipse and extract it somewhere... I put mine in /opt/eclipse

To run it just type /opt/eclipse/eclipse at the command line.

If you get an error, (and like me, don�t know how to get the path to stick)
Just use these two commands to run it.

If you installed j2sdk just like the instructions from the link above:

# PATH=PATH=/usr/local/java/j2sdk1.4.2_07/bin
# /opt/eclipse/eclipse

To install CFEclipse:

>From eclipse go to Help > Software Updates > Find and Install
Choose "Search for new features to install" and click next
On the right click "New Remote Site..."

In the New Update Site window:
Name: cfeclipse
URL: http://cfeclipse.tigris.org
And hit ok

Now you should have "cfeclipse" listed under the "Sites to include in
search"

Expand the cfeclipse entry
It will take it a second to search for available updates and should return
these two entries:
Com.rohanclan.cfml.release.bleedingedge
Com.rohanclan.cfml.release.stable

Since I'm a big wussy, I chose the stable release and hit next.
On the next page of results, pick the latest release and your set.

When it asks to restart eclipse or just apply changes... I suggest
restarting eclipse.

As long as the bash session that you set the PATH variable in from above is
still open, it should restart with no problems. If you closed the window,
you may have to set the PATH variable again.

Please let me know if you find out what to put in the ~/.bash_profile file
to make the path variable permanently include the path to the j2sdk/bin
directory (without losing the path that's already in there) and I'll do the
same!



-----Original Message-----
From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 15, 2005 7:45 AM
To: CF-Community
Subject: Eclipse on Fedora Core 3

Has anyone been able to get eclipse installed successfully on Fedora Core 3?
Im having a hell of a time getting it to run.

I've tried following a number of steps from different places and Im afraid
that I've screwed it up by now more than anything.

On a default install of FC3 can someone tell me what I need to do to get
eclipse running with the cfeclipse plugin?

Thanks





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase Homesite Plus with Dreamweaver from House of Fusion, a Macromedia 
Authorized Affiliate and support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=55

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:147253
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to