Author Topic: eCS_Java Apps Pack Final  (Read 42941 times)

David McKenna

  • Hero Member
  • *****
  • Posts: 809
  • Karma: +25/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #15 on: March 11, 2016, 10:20:03 pm »
 Here's MY_CFG_FILE:

eJava = "C:\PROGRAMS\JavaInstall"
JavaHome = "C:\Programs\Java6"
JavaProg = "C:\Programs\JavaApps"
combined_var = "COMBINED_VAR"

 I installed by deleting the old install, then copying the archive to the new install directory and running Install_eJava.cmd. The default apps were all installed properly (no 'Get eJava Apps' folder shadow created though - I had to do that manually). When I tried to run any file in the 'Get eJava Apps' folder, I got a 'wget not exist' type error until I copied wget.exe into \ecs\bin. After that I got the errors just shown.

  I could try ro run the install again....

David McKenna

  • Hero Member
  • *****
  • Posts: 809
  • Karma: +25/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #16 on: March 11, 2016, 10:36:15 pm »
 After thinking about the situation, I copied the MY_CFG_FILE and wget.exe into the 'Get eJava Apps' folder, and now the scripts work. So it seems the scripts are looking in the wrong place for those 2 files...

Greggory Shaw

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #17 on: March 11, 2016, 11:05:25 pm »
After thinking about the situation, I copied the MY_CFG_FILE and wget.exe into the 'Get eJava Apps' folder, and now the scripts work. So it seems the scripts are looking in the wrong place for those 2 files...

That's just another lack of my cut and paste programming skills.  The  MY_CFG_FILE should be copied to the 'Get eJava Apps' folder when the install script is run (there should be two copies, one in each directory).

This is probably easy, but I still don't know how the point the scripts to the MY_CFG_FILE in the main directory ???

So, I just had the install script copy it to the  'Get eJava Apps' folder -  HELP SOMEONE WITH THIS ?

And another easy one - how to create the shadow folder ??? this one is really pissing me off ( it should work).

Your idea with just changing the zip file names saves so much work and time (it changed my mind from quit working on this too).

And going to start using PPWizard for all the CMD, so almost zero work on them after I get that set up ( I use PPWizard on my site).

Another idea from this is to have a SQL database online for all OS/2 program objects and desktop store/re-store !
Kind of like the old mirgate util /dbase from Warp 4, but the master online with a static file to download.

Easy way to get back lost objects (which really irritates me. since most programs don't have that option) and/or after new OS installs !


Thanks,

Greggory
« Last Edit: March 14, 2016, 12:53:32 am by Greggory Shaw »

Greggory Shaw

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #18 on: March 14, 2016, 12:16:01 am »
UPDATED - Regim version 3.3.1 has been released (12.11.2015 ).

Regim is my software tool for processing astronomical images. Regim is not meant to replace complex image processing systems like Adobe Photoshop or others. It is meant as an addition to them. It makes some processing steps that are unique to astronomical images a bit easier.

These steps are calibration (dark and flat), deblooming, registration, combination, color calibration, gradient removal and some more.

Just download Add_jRegim.zip and unzip it to the eJava directory and run jRegim.CMD (eJava-008_test.zip required).
« Last Edit: March 14, 2016, 12:35:28 am by Greggory Shaw »

Greggory Shaw

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #19 on: March 14, 2016, 10:26:48 pm »
UPDATED - Cademia  | New version 4.rc has been released.

CADEMIA products are a new generation of certified CAD software for true-to-scale technical drawings and documents. Smart, simple and extremely flexible, CADEMIA offers any CAD user a new way to work.

Just download Add_jCademia.zip and unzip it to the eJava directory and run jCademia.CMD (eJava-xxx.zip required).
« Last Edit: March 14, 2016, 10:30:13 pm by Greggory Shaw »

Greggory Shaw

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #20 on: March 14, 2016, 10:46:08 pm »
UPDATED - Freeplane  | New version 1.3.15 has been released.

Freeplane is a free and open source software application that supports thinking, sharing information and getting things done at work, in school and at home. The software can be used for mind mapping and analyzing the information contained in mind maps.

Just download Add_jCademia.zip and unzip it to the eJava directory and run jCademia.CMD (eJava-xxx.zip required).


Greggory

Greggory Shaw

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #21 on: March 15, 2016, 02:33:43 am »
UPDATED - GoGui  | New version 1.4.9  has been released.

GoGui is a graphical user interface to programs that play the board game Go and support the Go Text Protocol such as GNU Go.

GoGui has many special features for Go program developers. It supports direct communication with the Go engine over a command shell. The Go engine can be replaced while keeping the current board position. Commands can be configured to display their response graphically on the board. GoGui is avaliable under the terms of the GNU General Public License.

Just download Add_jGoGui.zip and unzip it to the eJava directory and run jGoGui.CMD (eJava-xxx.zip required).


Greggory
« Last Edit: March 15, 2016, 02:36:03 am by Greggory Shaw »

Greggory Shaw

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #22 on: March 15, 2016, 04:40:31 am »
Update for eJava-008 - The  MY_CFG_FILE should be copied to the 'Get eJava Apps' folder when the install script is run (there should be two copies, one in each directory).

- However, the file isn't copied - copy the file and the rest of the scripts will work now.
- the wget.exe should also be in both directories or copy into a PATH directory


HELP, how do you point the scripts to the main directory (the MY_CFG_FILE).


Greggory

« Last Edit: March 16, 2016, 12:41:30 am by Greggory Shaw »

Greggory Shaw

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #23 on: March 16, 2016, 01:22:47 am »
eJava-008_Final.zip,  added 21 programs to the Apps Pack !

http://os2notes.net/os2java6.html


*** All further updates will use small CMD files to add and download new java programs !





Known issues:

- The 'Get Java Apps' shadow folder isn't being created (do manually). Or change this to the correct value --  'SHADOWID=C:\Programs\eJava\Get eJava Apps;'||,

- wget.exe should be in both directories, or copy it to a directory in the PATH.

- scripts can now find the conf file, but the conf file is still copied to both locations (just to be sure).

===

Please Test - eJava-008_Final.zip

user: os2user
pass: os2

ftp://os2notes.duckdns.org/

Install: Unzip to your Programs directory or location of choice (eJava is self contain leave alone) and run Install_eJava.cmd .



Any help with links to download the programs and settings please !

Just use this template below (only change the red) for new java programs and post them here !


*****************************
CreateObjects:

rc = CreateObject( 'WPProgram',,
    'jAlbum',,
    '<WP_EJAVA>',,
    'NOTDEFAULTICON=YES;'||,
        'NOPRINT=YES;'||,
        'DEFAULTVIEW=RUNNING;'||,
        ';'||,
        'ICONPOS=2,12;'||,
        'ICONFILE='||CurrentDir||'\icons\os2\jalbum.ICO;'||,
        'EXENAME='||JavaHome||'\BIN\JAVAW.EXE;'||,
        'STARTUPDIR='||JavaProg||'\JALBUM-11.6.14\JALBUM;'||,
        'PARAMETERS=-Xmx192M -jar jEdit.jar;'||,
        'PROGTYPE=PM;'||,
        'OBJECTID=<JALBUM>',,
    CreateCollision )

return

********************

(eJava Pack install, eCS 2.2 png icons shown, 21 apps below )
« Last Edit: March 16, 2016, 02:41:02 am by Greggory Shaw »

Greggory Shaw

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #24 on: June 10, 2016, 04:25:56 am »
UPDATED - jFtp  | New version 1.60  has been released.

JFtp is a graphical Java network and file transfer client.

It supports FTP using its own FTP API and various other protocols like SMB, SFTP, NFS, HTTP, and file I/O using third party APIs, includes many advanced features such as recursive directory up/download, browsing FTP servers while transferring files, FTP resuming and queueing, browsing the LAN for Windows shares, and more.

You can also have more than one connection open at a time in a mozilla-style tabbed browsing environment.
The FTP API is separated from the GUI and can also be used in third-party applications.

Just download jFtp.CMD to the "Get eJava Apps" directory located in the eJava directory and run jFtp.CMD (eJava-008.zip required, see above).


Greggory


Any help with links to download the programs and settings please !

Just use this template below (only change the red) for new java programs and post them here !


*****************************
CreateObjects:

rc = CreateObject( 'WPProgram',,
    'jAlbum',,
    '<WP_EJAVA>',,
    'NOTDEFAULTICON=YES;'||,
        'NOPRINT=YES;'||,
        'DEFAULTVIEW=RUNNING;'||,
        ';'||,
        'ICONPOS=2,12;'||,
        'ICONFILE='||CurrentDir||'\icons\os2\jalbum.ICO;'||,
        'EXENAME='||JavaHome||'\BIN\JAVAW.EXE;'||,
        'STARTUPDIR='||JavaProg||'\JALBUM-11.6.14\JALBUM;'||,
        'PARAMETERS=-Xmx192M -jar jEdit.jar;'||,
        'PROGTYPE=PM;'||,
        'OBJECTID=<JALBUM>',,
    CreateCollision )

return

********************

(eJava Pack install, eCS 2.2 png icons shown, 21 apps below )
« Last Edit: June 11, 2016, 06:20:20 am by Greggory Shaw »

Joop

  • Hero Member
  • *****
  • Posts: 633
  • Karma: +5/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #25 on: June 10, 2016, 05:26:52 pm »
[CreateObjects:

rc = CreateObject( 'WPProgram',,
    'jAlbum',,
    '<WP_EJAVA>',,
    'NOTDEFAULTICON=YES;'||,
        'NOPRINT=YES;'||,
        'DEFAULTVIEW=RUNNING;'||,
        ';'||,
        'ICONPOS=2,12;'||,
        'ICONFILE='||CurrentDir||'\icons\os2\jalbum.ICO;'||,
        'EXENAME='||JavaHome||'\BIN\JAVAW.EXE;'||,
        'STARTUPDIR='||JavaProg||'\JALBUM-11.6.14\JALBUM;'||,
        'PARAMETERS=-Xmx192M -jar jEdit.jar;'||,
        'PROGTYPE=PM;'||,
        'OBJECTID=<JALBUM>',,
    CreateCollision )

return

********************
Thank you for the update, but I don't have a "jEdit.jar"  in the JAlbum  directory. Seems something did go wrong.

Greggory Shaw

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #26 on: June 10, 2016, 07:15:02 pm »

Thank you for the update, but I don't have a "jEdit.jar"  in the JAlbum  directory. Seems something did go wrong.


That's a template for anyone that wants to help out with the eJava pack.  To help out with a new program just replace to red with new entries and post the download link /w a icon too. Then, I'll make a  CMD file out of it. Once added everything is automatically setup including auto downloading for new versions and png icon support.

The update is for jFtp 1.60, see attched CMD file.
« Last Edit: June 10, 2016, 07:27:11 pm by Greggory Shaw »

David McKenna

  • Hero Member
  • *****
  • Posts: 809
  • Karma: +25/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #27 on: June 10, 2016, 10:35:44 pm »
 I'm getting this error when I try to run the CMD file:

[C:\programs\javainstall\Get eJava Apps]jFtp
    30 +++     Call iPath;
REX0043: Error 43 running C:\programs\javainstall\Get eJava Apps\jFtp.CMD,
line 30: Routine not found

 Am I missing some library?

David McKenna

  • Hero Member
  • *****
  • Posts: 809
  • Karma: +25/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #28 on: June 10, 2016, 10:59:17 pm »
 I looked at some of the other CMD files, and it looks like this is missing from the end of the jFtp.cmd file:

iPath:

  String = CurrentDir
  path = substr(string,1,lastpos('\',translate(string,'\','/'))-1)

Return

 Once I added that, it worked!

Greggory Shaw

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
    • View Profile
Re: eCS_Java Apps Pack Final
« Reply #29 on: June 11, 2016, 06:19:34 am »
I looked at some of the other CMD files, and it looks like this is missing from the end of the jFtp.cmd file:

iPath:

  String = CurrentDir
  path = substr(string,1,lastpos('\',translate(string,'\','/'))-1)

Return

 Once I added that, it worked!

Oops, not using my own template and old memory ;(

See attached for updated CMD file (note: eJava-008.zip required, see above).

Thanks Dave !
« Last Edit: June 11, 2016, 07:32:18 am by Greggory Shaw »