my bookmarks

Archive for November, 2008


ibm jdk 5

Nov 30, 2008 Author: admin | Filed under: general

All About Interop : Where is IBM Java 1.5 for Windows?

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post’s comments using RSS
Comments

# Kris said:
I remember in the early 2000 IBM used to give away a lot of development tools for free for developers or with a limited license. I am surprised that now you can’t even download their JDK. How can you woo the developers on their platform? They should learn from Microsoft and Oracle.
20 June 06 at 1:10 PM
# Tom Kerigan said:
IBM has a no-compete clause with Sun, with respect to the JRE, on certain platforms, including Windows. This means that IBM is not allowed to ship a standalone version of the JRE for these operating systems unless it is at least one major version prior to the current version (in this case, JRE 1.4.x). As you pointed out, there still are ways to get IBM’s 1.5 JRE for Windows (ie. by installing a bundled product like Rational Application Developer or one of the web services toolkit), but it’s not standalone, that’s for sure.
22 June 06 at 6:10 PM
# lp said:
Download Websphere 6.1 trial, J9 is in there. Indeed with some very cool extensions like class sharing between JVMs.
26 June 06 at 1:46 PM
# Stan said:
It looks like the IBM 1.5 JDK for Windows is contained in their Development Package for Eclipse. Still a 100 MB download, but the whole package is free …

http://www-128.ibm.com/developerworks/java/jdk/eclipse/index.html
28 June 06 at 10:57 PM
# whitetiger said:
Get it here:

http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-56888

You can get around the bios check by either
unpacking the installer or letting the installer
unpack itself and then copy the java setup file(s) from your temp folder
not sure about v5, worked with 3 & 4
29 June 06 at 12:19 AM
# DotNetInterop said:
Just to be clear, I absolutely do not advocate subverting the license enforcement or violating the license agreement on IBM’s software, or anyone’s software.

-Dino
09 July 06 at 1:41 PM
# Samir Gouda said:
I downloaded the Development Package for Eclipse, but I can’t use the JRE.
If I run java -version, I get “No Public JRE”, even though I have replaced my old java.exe (from sun) in c:/windows/system32, and I have uninstalled SUN JRE.
How do I tell my system to use the IBM JRE?
13 July 06 at 8:42 PM
# vipera said:
The installer does not extract the setup files prior to running the BIOS check, but it does extract a program called ‘checkIBM.exe’. Run that program at a command prompt and you should be able to figure out how to trick the installer.
22 July 06 at 1:14 AM
# DotNetInterop said:
I absolutely don’t recommend tricking the installer or subverting the license. I am saying that there exists a 1.5 Java VM from IBM, and people should check the license to verify that they have rights to use it in the way they want to.
-Dino
02 August 06 at 10:36 AM

ibm jdk

Nov 30, 2008 Author: admin | Filed under: general

developerWorks : IBM developer kits

The IBM Centre for Java Technology Development provides Developer Kits for creating and testing Java 2 Platform, Standard Edition applets and applications on some of IBM’s most popular platforms.

Continuous Integration

Nov 27, 2008 Author: admin | Filed under: general

Continuous Integration

Continuous Integration is a software development practice where members of a team integrate their work frequently, usually each person integrates at least daily - leading to multiple integrations per day. Each integration is verified by an automated build (including test) to detect integration errors as quickly as possible. Many teams find that this approach leads to significantly reduced integration problems and allows a team to develop cohesive software more rapidly. This article is a quick overview of Continuous Integration summarizing the technique and its current usage.

scribd

Nov 25, 2008 Author: admin | Filed under: general

Scribd

iPaper is simply the best way to view documents on the web. iPaper is designed to be as fast and easy to use as possible. You can even embed iPaper in your web site or blog - just like a YouTube video.

No more bloated document viewers, add-ons, or unsafe downloads. With Scribd’s API toolkit, developers can smoothly integrate iPaper documents into websites and applications with little or no additional coding.

linux create swap file

Nov 25, 2008 Author: admin | Filed under: general

5.2. Adding Swap Space

5.2.3. Creating a Swap File

To add a swap file:

1.

Determine the size of the new swap file in megabytes and multiply by 1024 to determine the number of blocks. For example, the block size of a 64 MB swap file is 65536.
2.

At a shell prompt as root, type the following command with count being equal to the desired block size:

dd if=/dev/zero of=/swapfile bs=1024 count=65536

3.

Setup the swap file with the command:

mkswap /swapfile

4.

To enable the swap file immediately but not automatically at boot time:

swapon /swapfile

5.

To enable it at boot time, edit /etc/fstab to include the following entry:

/swapfile swap swap defaults 0 0

The next time the system boots, it enables the new swap file.
6.

After adding the new swap file and enabling it, verify it is enabled by viewing the output of the command cat /proc/swaps or free.

jpedal old sources

Nov 25, 2008 Author: admin | Filed under: general

Index of /disk1/sourceforge/j/jp/jpedal

[ ] 2.61b15.14_os_examples_src.zip 13-Dec-2005 14:37 146K
[ ] 2.61b15.14_os_jpedal.jar 13-Dec-2005 14:43 1.0M
[ ] 2.61b15.14_os_jpedal.src.zip 13-Dec-2005 14:42 1.3M
[ ] 3.10b10_unsigned_jpedalSTD.jar 15-Mar-2007 18:25 1.4M
[ ] 3.30b12_jpedalSTD_src.zip 08-Oct-2007 12:34 1.5M
[ ] 3.30b12_unsigned_jpedalSTD.jar 08-Oct-2007 12:31 1.5M
[ ] 3.31b05_unsigned_jpedalSTD.jar 25-Oct-2007 15:56 1.5M
[ ] 3.40b12_jpedalSTD.jar 22-Nov-2007 13:19 1.6M
[ ] 3.40b12_jpedalSTD_src.zip 22-Nov-2007 13:20 1.6M
[ ] 3.45b37_unsigned_jpedalSTD.jar 20-Mar-2008 15:47 1.7M
[ ] 3.50b22_jpedalSTD_src.zip 01-May-2008 10:42 1.8M
[ ] 3.50b22_unsigned_jpedalSTD.jar 01-May-2008 10:44 1.8M
[ ] 3.50b52_jpedal_gpl.jar 16-May-2008 21:57 2.0M
[ ] 3.50b52_jpedal_gpl_src.zip 16-May-2008 21:58 1.9M
[ ] 3.51b12_jpedal_gpl.jar 30-May-2008 15:12 2.0M
[ ] 3.51b12_jpedal_gpl_src.zip 30-May-2008 15:14 1.9M
[ ] 3.331b05_jpedalSTD.jar 25-Oct-2007 15:57 1.5M
[ ] 3.331b05_jpedalSTD_src.zip 25-Oct-2007 15:57 1.5M
[ ] 3javadocSTD.zip 17-Nov-2006 17:32 150K
[ ] 3jpedalSTD.jar 17-Nov-2006 17:32 1.4M
[ ] 3jpedalSTD_src.zip 17-Nov-2006 17:33 1.4M
[ ] 14_os_examples_src.zip 20-Jul-2005 15:38 66K
[ ] 14_os_javadoc.tar 17-Sep-2004 10:39 2.7M
[ ] 14_os_javadoc.tar.gz 13-Dec-2004 14:14 171K
[ ] 14_os_jpedal.jar 20-Jul-2005 15:39 914K
[ ] 14_os_jpedal.src.zip 20-Jul-2005 15:39 946K
[ ] 250b32_14_os_examples_src.zip 16-Sep-2005 10:02 68K
[ ] 250b32_14_os_jpedal.jar 16-Sep-2005 10:02 928K
[ ] 250b32_14_os_jpedal.src.zip 16-Sep-2005 10:01 949K
[ ] files.tar.gz 12-Aug-2002 20:46 263K
[ ] files.zip 12-Aug-2002 20:43 267K
[ ] formData.xml 21-Jan-2003 16:18 926
[ ] glogs010.zip 13-Dec-2004 13:31 13K
[ ] gpl_jpedal.jar 23-Apr-2004 15:07 769K
[ ] gpl_src_tar.gz 23-Apr-2004 15:07 762K
[ ] javadoc.tar.gz 23-Apr-2004 15:07 141K
[ ] javadocSTD.zip 17-Nov-2006 17:30 150K
[ ] jpedal-1.79-src.tar.gz 28-Nov-2002 11:48 434K
[ ] jpedal.jar 20-Mar-2003 11:46 1.5M
[ ] jpedalSTD.jar 14-Aug-2006 12:56 1.4M
[ ] jpedalSTD_src.zip 14-Aug-2006 12:57 1.4M
[ ] jpedalSTD_src_3.10b10.zip 15-Mar-2007 18:26 197K
[ ] jpedalSTD_src_3.45b37.zip 20-Mar-2008 15:49 1.7M
[ ] org.tar.gz 17-Sep-2004 10:47 431K
[ ] org.zip 11-Oct-2002 13:13 486K
[TXT] readmeFIRST.txt 29-Sep-2008 09:27 557
[ ] sampleForm2.pdf 21-Jan-2003 16:18 70K

jpedal examples

Nov 25, 2008 Author: admin | Filed under: general

Source code examples

JPedal includes a large number of example applications for you to use and customise. Each one is described below along with a link to code and any related items.

jpedal jvm arguments (cmyk profile :)

Nov 24, 2008 Author: admin | Filed under: general

JVMoptions

General JVM flags in JPedal
flag Description_of_JVM_function Example usage
org.jpedal.fontdirs
Tells JPedal to register fonts on these directories and use fonts for unembedded fonts in PDF. It expects a comma separated list (directories do not need to exist so it is useful for cross-platform settings).
-Dorg.jpedal.fontdirs= “C:/win/fonts, /usr/etc/X11/fonts/”
org.jpedal.memory
Downsamples images to save memory.
-Dorg.jpedal.memory =true
org.jpedal.hires
Maintains images at highest resolution.
-Dorg.jpedal.hires =true
org.jpedal.jai
Instructs JPedal to use JAI library if on classpath.
-Dorg.jpedal.jai =true
org.jpedal. securityprovider
Instructs JPedal to use an alternative Security library for encryption.
-Dorg.jpedal. securityprovider= “org.bouncycastle.jce. provider. BouncyCastleProvider”
org.jpedal. useICC
Instructs JPedal to use slower ICC colorspace mapping when changing CMYK jpegs into sRGB. Default is to use fast formula conversion which can make some colours darker. User needs to supply YCC and CMY profiles (have a look at Sun’s JAICMM package for samples).
-Dorg.jpedal.useICC= “YCC=C:/profiles/ycc.pf, CMY=C:/profiles/cmy.pf”
org.jpedal. profile
(From 3.40) Instructs JPedal to use a different ICC profile (file ends .icm) from default for CMYK to sRGB conversion.
-Dorg.jpedal.profile= “C:/altProfile.icm”
org.jpedal. downsample
(From 3.40b17 Enhanced only) New downsampling class org.jpedal.images.SamplingFactory offers several options to improve memory usage and speed on PDFs with large images. This value can also be set programmatically.
-Dorg.jpedal.downsample= “high”

Extra flags in examples
Flag Example Description_of_usage Example Use
(prefix with -D)
org.jpedal. logging
ExtractClippedImages
Write to logfile
org.jpedal. logging =true
org.jpedal. compress_tiff
ExtractClippedImages, ExtractImages, ExtractPagesAsThumbnails
If JAI available, use it to write out Tiff files compressed
org.jpedal. compress_tiff =true
org.jpedal. jpeg_dpi
ExtractClippedImages, ExtractImages, ExtractPagesAsThumbnails If JAI available, use it to write out Tiff files compressed org.jpedal. jpeg_dpi =true
org.jpedal. opi
ExtractImages
Include OPI metadata in XML information with images
org.jpedal.opi =true
org.jpedal. listenforms
SimpleViewer
Enable custom example listener on forms components
org.jpedal. listenforms =true
org.jpedal. page
SimpleViewer
Page number to open document, if valid.
org.jpedal. page =4
org.jpedal. bookmark
SimpleViewer
Location to open document, if valid.
org.jpedal. bookmark =into
org.jpedal. thumbnail
SimpleViewer
Flag to disable thumbnails. Default is on.
org.jpedal. thumbnail =false
org.jpedal. configureViewer
SimpleViewer
Flag to disable menu options from config file. See this link for details.
org.jpedal. configureViewer =config.txt
org.jpedal. SimpleViewer.Prefs
SimpleViewer
Location of Properties file to be used when opening SimpleViewer
org.jpedal. SimpleViewer.Prefs =”C:\prop.xml”
org.jpedal. upscale
(removed in 3.70)
SimpleViewer Flag to enable upscaling during
extraction of images. Improves quality
on small images.
If in use requires more memory. -Dorg.jpedal. upscale =2
org.jpedal.pageSize HiResThumbnailExtractor Set pagesize to scale up to (preserving aspect ratio). Values are width x height -Dorg.jpedal. pageSize =”1000×800″
org.jpedal. pageMaxScaling HiResThumbnailExtractor Set maximum scaling allowed so rogue image does not cause hugh images -Dorg.jpedal. pageMaxScaling =4
org.jpedal. pageSizeOverrides

HiResThumbnailExtractor Set whether pageSize or image scaling takes priority org.jpedal. pageSizeOverrides =”true”

java pdf - gnujpdf

Nov 23, 2008 Author: admin | Filed under: general

SourceForge Project Page - gnujpdf

gnujpdf

gnujpdf is a Java package (gnu.jpdf.*) licensed under the LGPL. It provides a simple API to create pdf files and print using subclasses of java.awt.Graphics and java.awt.PrintJob. The PDF classes write to an OutputStream in pdf format instead of a typical Graphics object, but the method calls are the same as they would be in any Applet or Application drawing to a canvas.

This project is a new version of a project called ‘retepPDF’ by Peter Mount. The project hadn’t been touched in a long time and I wanted to make some considerable changes to it, so I started a new project and renamed the package. I haven’t been able to contact Peter yet, but all credit to him for the hard work of figuring out Adobe’s wacky file format.

Here’s the obligatory link to Adobe’s site so you can get Acrobat Reader (R) if you don’t already have it. All Adobe logos and the pdf file format itself are the sole property of Adobe.
Get Adobe Acrobat Reader

The project is on SourceForge’s servers at https://sourceforge.net/projects/gnujpdf/.

I’ve recently started converting the documentation format to texinfo. Click here to see the html conversion of the docs.

java pdf - FOP

Nov 23, 2008 Author: admin | Filed under: general

FOP FAQ

FOP is a print formatter for XSL formatting objects.

It can be used to render an XML file containing XSL formatting objects into a page layout. The main target is PDF but other rendering targets are supported, such as AWT, PCL, text and direct printing.

Advertising



Most Popular

  • None found

Recent Comments

  • None found