Author Topic: SECore Trial installation  (Read 5401 times)

mikef

  • Community Member
  • Posts: 13
  • Hero Points: 2
SECore Trial installation
« on: May 05, 2008, 05:56:31 am »
It took me a week with a lot of mails to support till I got working SlickEdit Core v3.3 for Eclipse Trial.
Here are the installation tips for quick and successful install:

SECore is 32-bit plugin and it will not work with 64-bit Eclipse. You can check your Eclipse version using Help->About Eclipse Platform->Configuration Details, look under '-arch': 'x86-64' is for 64-bit and 'x86' for 32-bit Eclipse. If you have 64-bit Eclipse you need to download and install 32-bit Eclipse and 32-bit JRE for use with SECore.

SECore requires Java Development Kit (JDK) for execution. So, before installing SECore you need to install it if not already installed:
Help->Software Updates->Find and install...->select 'Search for new features to install'->Next->select 'Europa Discovery site'->Finish. In Search Results: open 'Europa Discovery site', open 'Java Development' and select 'Eclipse Java Development Tools'->Next->accept terms->Next->Finish.

Now you are ready to install the SECore. Do as instructed on SlickEdit site.

If you use desktop application launcher make sure you configure it to Type = 'Application in Terminal' (or Terminal=true). Otherwise Eclipse crashes.

Default configuration of Eclipse is not good enough for large projects: Eclipse will crash during tagging. This can be solves by giving Eclipse more memory:
open eclipse.ini (in Eclipse's folder), and change:
'-Xms40m' to '-Xms160m',
'-Xmx256m' to '-Xmx1024m' and
add '-XX:MaxPermSize=400m'

This configuration was good enough for C/C++ project with 20K files.

Now you are (hopefully) all set.
Good Luck!

Ryan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 987
  • Hero Points: 77
Re: SECore Trial installation
« Reply #1 on: May 05, 2008, 02:14:37 pm »
Thanks for the feedback...we are trying to make the installation/setup process for our Linux plug-in much less painful with each release  ;).  We made some strides in 3.3.0 by ridding ourselves of 3rd party installers and environment variable dependencies, and we will continue to make progress in this area.

Here are some comments...for you and others...

Quote
If you have 64-bit Eclipse you need to download and install 32-bit Eclipse and 32-bit JRE for use with SECore.

This should have been added to the release notes (requirements)...but it wasn't.

Quote
SECore requires Java Development Kit (JDK) for execution. So, before installing SECore you need to install it if not already installed:
Help->Software Updates->Find and install...->select 'Search for new features to install'->Next->select 'Europa Discovery site'->Finish. In Search Results: open 'Europa Discovery site', open 'Java Development' and select 'Eclipse Java Development Tools'->Next->accept terms->Next->Finish.

The directions are correct, but he means JDT.  This is listed in the requirements.

Quote
If you use desktop application launcher make sure you configure it to Type = 'Application in Terminal' (or Terminal=true). Otherwise Eclipse crashes.

This one is an artifact of the new licensing approach used for Core (believe it or not), we had the same problem with SlickEdit under Linux for SlickEdit 2008.  I believe this will be fixed for Core 3.4.

Quote
Default configuration of Eclipse is not good enough for large projects: Eclipse will crash during tagging. This can be solves by giving Eclipse more memory

Increasing the JVM heap size for your large project...this is good to know.  Hopefully this will alleviate some headache for a future customer/trialer.  Once again, thanks for the post.

- Ryan