Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ivan

Pages: 1 ... 67 68 [69] 70 71 ... 105
1021
Applications / Re: Night Vision v4 and Java
« on: January 30, 2017, 08:53:52 am »
Hi Mark.

My problem with the time in NV 4 and oprnjdk6 is that no matter how many times I set it it always reverts to GMT the next time I start NV 4.  Everything else works as expected, even down to a customised location.

I am assuming it is something to do with openjdk6 rather than NV 4 but I don't run any other java programs that are time critical to check that.

1022
General Discussion / Re: registering to upload to hobbes
« on: January 29, 2017, 12:53:01 pm »
Hi Ian,

That sounds to be an excellent idea, one that all of us in the OS/2 community should support.

1023
Applications / Re: Can I use a usb port as a com-port?
« on: January 28, 2017, 02:24:06 pm »
For a start you need USBCOM.SYS loaded with the other USB drivers.  Then it will depend on how the relay board talks to the interface you are using.

We have clients using serial to USB adapters for machinery control and in all cases they appear as standard serial ports so the original OS/2 serial software still works.

1024
Applications / Re: RPM
« on: January 26, 2017, 07:13:29 pm »
Hi André.

You should be able to find them in http://rpm.netlabs.org/release/00/zip/

We must be thankful that they give us the zips rather than having to mess around with RPM.

1025
Article Discussions / Re: What program for font preview
« on: January 21, 2017, 08:17:09 pm »
Hi Dave,  This appears to be one of the java programs that requires openjdk6-ga3 to run. 

I have a few java programs that will not run with openjdk6-ga5.  I don't think there are supposed to be that many differences between ga3 and ga5 but there are enough not to let some java programs work that is why I have both versions on this computer.

1026
Article Discussions / Re: What program for font preview
« on: January 20, 2017, 12:50:26 pm »
Hi Dave,

I use a program object with the following in the 'Program' page:
                           
C:\OPENJDK6-GA3\BIN\JAVAW.EXE
-Duser.home=f:\java-apps\fontviewer -jar fontviewer.jar
F:\JAVA-APPS\FONTVIEWER

And       Font Display on the 'Icon' page.

Obviously you need to change paths as necessary.
                               


1027
Article Discussions / Re: What program for font preview
« on: January 20, 2017, 12:03:39 am »
I remember that one Dave but the problem was I could never find a way of actually displaying what the font looked like.  At least you can do that easily with Fontviewer.

1028
Article Discussions / Re: What program for font preview
« on: January 19, 2017, 04:47:12 pm »
You could use Fontviewer which is a java program.  It works with openjdk6 but you will need to know where your fonts are.

1029
Hi Dave, I did that ages ago and got very frustrated.  For example it just gives   -D<name>=<value> set a system property  but I want a list of the <name> and possibly the <value>.   The -X gives a little more information but again no actual solid details.  One od the things that started me looking was the fact that a couple of the java programs always start full screen and on a 28" monitor that is overkill.  There has to be some parameter that sets maximum size but, so fat I haven't found it.


André, again we are talking about JAVA programs and I gave an example of what we use.  With program objects setup that way it just requires a double click to start them.  Yes, we could use CMD files but why do so when simple program objects do the job.  All I am considering is using rexx to automate the process rather than using cut and paste.

1030
While we are talking about starting java programs here I have a text file that I use to populate a program object (one day I will work out how to use rexx to take that text file and create all the program objects).

An example of part of that file follows:

                                           diy-circuit

C:\OPENJDK6-GA3\BIN\JAVAW.EXE
-Duser.home=h:\java-apps\diylc-3-23-0 -Xms138m -Xms512m -Dorg.diylc.scriptRun=true -jar diylc.jar
H:\JAVA-APPS\DIYLC-3-23-0

-----------------------------------------------------------------------------------------

                                       BlueJ
                                       
F:\OPENJDK6-SDK\BIN\JAVA.EXE
-Duser.home=h:\java-apps\bluej -Dawt.useSystemAAFontSettings=on  -cp h:\java-apps\bluej\lib\bluej.jar;f:\openjdk6-sdk\lib\tools.jar bluej.Boot
****

-----------------------------------------------------------------------------------------

                                    Watermarker
                                   
C:\OPENJDK6\BIN\JAVAW.EXE
-Duser.home=h:\java-apps\watermarker3-0 -Xmx512m -jar watermarker3-0.jar
H:\JAVA-APPS\WATERMARKER3-0

-----------------------------------------------------------------------------------------

                                      PDFSaM
                                     
C:\OPENJDK6\BIN\JAVAW.EXE
-Duser.home=h:\java-apps\pdfsam -Xmx256m -jar pdfsam-2.2.2.jar
H:\JAVA-APPS\PDFSAM

-----------------------------------------------------------------------------------------

                                       jPDFTweak
                                       
C:\OPENJDK6\BIN\JAVAW.EXE
-Duser.home=h:\java-apps\jpdftweak -Xmx256M -jar jpdftweak.jar %*
H:\JAVA-APPS\JPDFTWEAK

-----------------------------------------------------------------------------------------

                              StoryBook
                             
C:\OPENJDK6-GA3\BIN\JAVAW.EXE
-Duser.home=h:\java-apps\storybook -Xmx192m -jar lib/storybook.jar
H:\JAVA-APPS\STORYBOOK

-------------------------------------------------------------------------------------------

As you cab see it is very simple and it works for all the java programs we use.

@Greg. 
It sounds as if you are the java expert si I have a question.  Where can I get a list of all the parameters that can be used, things like -D(I assume there are more parameters than user.home but what are they) and -X(there has to be a list somewhere) and any others?


1031
André, since we are generally talking about JAVA programs and where they store their data, the -D parameter is specific to that.  I don't think that anyone would be foolish enough to try and use it with any other OS/2 program.

1032
Thanks for that Pete.

We tried it this afternoon and, as you say, it works but we also found that some of the older programs are not happy with the new slimmed down forwarder dlls and require the old dlls to work (so far placing the old dlls in the directory with the programs and having the dot at the beginning of the LIBPATH has fixed that).

1033
Quote
Had a look in the HOME path (X:\HOME\DEFAULT) specified for both OS partitions and there are indeed entries in a .config directory (and actually outside of it as well - many programs are not following strict UNIX conventions). While many of the QT4 programs I use have config or INI files there, I saw no indications that any of the Java programs held settings (or any other data) there.

That is understandable if you are using the parameter -Duser.home=<path to java program> when starting the java program because that tells the program to put every thing in its directory.

Something that also helps is NOT having the home directory on the boot partition.  Our test machine has the home directory on drive G and have it listed as such in the config.sys of the 4 versions of OS/2 we can boot from.  We are also now going to try and see of putting all of the unix dlls into one directory on that drive, and listing it in the LIBPATH will work (if it does it will simplify testing).

1034
Web applications / Re: FF 38.x - problems invoking from within PMMail
« on: January 13, 2017, 07:42:57 pm »
Quote
trying to be more unixy.
and
Quote
it is kinda crappy that using the OS/2 API rather then the libc API breaks things

This is something that I don't understand - we are using OS/2 NOT unix so why try and make it like unix?

At the moment I don't see any real advantage doing that.  We are ending up in DLL hell where older ports no longer work because one, or more, DLLs have been changed.

1035
Applications / Re: Vbox5.06 beta
« on: January 03, 2017, 07:04:23 pm »
Quote
Did you change the file name, to remove the "-506"? Works for me.

No we didn't.  It can't be that simple can it?  I'll give it a try later this evening.

Pages: 1 ... 67 68 [69] 70 71 ... 105