Showing posts with label java development. Show all posts
Showing posts with label java development. Show all posts

Wednesday, August 27, 2008

Installing Visual Editor for Eclipse 3.4

This is the only URL I found that allows doing it fast and easy:
http://wiki.eclipse.org/VE/Installing and this works indeed on my 3.4 Classic

Wednesday, August 06, 2008

Installation of Eclipse 3.4 with PHP on Windows

Here is the only correct instruction what to do to get it working
http://wiki.eclipse.org/PDT/Installation
- follow it and you will do it in a matter of minutes; otherwise it can take hours browsing through various unreliable source. I just did it, so I know it exactly.

Just in case if this URL is gone, these are the required steps:
1. ensure you have working Java
2. Download & install Eclipse 3.4
3. Get Download the latest DLTK Core Frameworks 1.0 Integration build, eg. dltk-core-*-incubation.zip. Unpack the zip somewhere, e..g. "C:\TEMP\ZIPs"
4. Download the latest PDT 2.0 build. Select the latest nightly build there. Unpack the zip somewhere. (the same root directory is just fine)
5. Start Eclipse and go to
Help > Software Updates > Add Site > Local Site >  (refer to step 3 above)
Help > Software Updates > Add Site > Local Site > (refer to step 3 above)

Press "Refresh"
Select the Dynamic Languages Toolkit - Core Frameworks Feature
Select the PDT Feature
Install...


- done!

Monday, January 01, 2007

Creating Java Installation package on MAC OS X

1. Go to Finder->Applications->Utilities->jar Bundler


2. Define your application similar to the screens below:


Notes:
Main Class: Select here the JAR where your class with the main function is located.







Notes: Add your properties file and any other resource file if you have any
Add all the others JARs your application is dependant on.
I tried to add "icons" directory here with all the graphics, but the application did not find the icons. The right solution was to open the application package after it's creation and add the 'icons" directory withh all its content inside the package.



Notes: select "Set Working Directory to inside Application Package" if you want that your java code will find relative paths like "icons/button.gif"
Set minimum and maximum heap size

3. Upgrading: the Java package on Mac OSX is represented by a directory "ApplicationName.app" containing all the resources for this application. The posiible upgrade can be a tar (tar.gz) file including the jar/resource file that need to be upgraded. If "tar -xvf upgrade_filename.tar" is manually run in the "ApplicationName.app" directory all the files in the package will be replaced by the new files from tar archive.