When running an Oracle Forms application the icon files used must be in a web enabled format such as JPG or GIF (GIF is the default format). This is unlike older versions of forms running in client-server mode when the file format is .ico
1] Gather all the icon files in a directory.For this copy all the icons files (gif or jpg) to a folder e.g c:\icons or /tmp/icons folder 2] Create the jar including the icons. Change directory to the target icons folder: cd c:\icons or cd /tmp/icons
2a) Set jdk_Home
E.g. set Jdk_Home=E:\10Ghome\Jdk
2b) Set Path
E.g. Set Path=E:\10Ghome \jdk\bin;%PATH%2c) Jar the icon files issue: jar -cvf icons.jar * 3] Place the jar in\forms\java 4] Edit the \forms\server\formsweb.cfg 4a) Tell the applet to load the jar: archive_jini=xxall_jinit.jar,icons.jar 4b) Indicate the images are relative to forms/java virtual directory: imageBase=codeBase (Be careful about case as java is case sensitive)
1] Gather all the icon files in a directory.For this copy all the icons files (gif or jpg) to a folder e.g c:\icons or /tmp/icons folder 2] Create the jar including the icons. Change directory to the target icons folder: cd c:\icons or cd /tmp/icons
2a) Set jdk_Home
E.g. set Jdk_Home=E:\10Ghome\Jdk
2b) Set Path
E.g. Set Path=E:\10Ghome \jdk\bin;%PATH%2c) Jar the icon files issue: jar -cvf icons.jar * 3] Place the jar in
No comments:
Post a Comment