View previous topic :: View next topic |
Author |
Message |
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
|
Back to top |
|
Hammer New Member
Joined: 10 Jun 2025 Posts: 44 Location: Tennesse, USA
|
Posted: Wed Mar 09, 2025 5:55 pm Post subject: |
|
|
Thanks crouse, I have alot of customers that have as400 and love linux but are forced to use other emulators. This should work great for them.
BTW what model as400 are you connecting to. I am employed by IBM and work on all as400 models and some of the largest main frame we make, Linux, Aix, MVS, os/400.
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
Posted: Tue Mar 15, 2025 4:55 pm Post subject: |
|
|
a quick note ...... needed to have two ip addresses running on eth0 for this to work with internet and the as400 ....... here is the command I USED
Code: |
ifconfig eth0:0 192.168.2.XXX netmask 255.255.255.0 up
|
where xxx is the local ip address needed for each machine.
_________________ Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
Posted: Tue Nov 22, 2025 9:48 pm Post subject: |
|
|
New url and newer version
Code: | wget http://voxel.dl.sourceforge.net/sourceforge/tn5250j/tn5250j-install-0.6.0.jar |
_________________ Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
Posted: Tue Nov 22, 2025 10:53 pm Post subject: |
|
|
hmmmm i keep getting these errors.......
Code: |
[crouse@localhost bin]$ java tn5250j
Exception in thread "main" java.lang.NoClassDefFoundError: tn5250j
|
with the newer version...... going to try the old version again.....
_________________ Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
Posted: Mon Dec 12, 2025 8:48 pm Post subject: |
|
|
OK------- UPDATE
----------------------------
after some work, using the bash
shell, I can start up the client with:
nohup java -jar /home/crouse/tn5250j/lib/tn5250j.jar 2>>error.log &
I setup and alias in my .bashrc file
Code: |
alias tn5250j='nohup java -jar /home/crouse/tn5250j/lib/tn5250j.jar
2>>error.log &' |
This seems to work. The original bash/shell startup file, appears to be
formatted/written in a DOS enviroment.
---------------
#! /bin/sh
# Runs the tn5250j 5250 java emulator
# Sets the tn5250j home directory
TN5250J_HOME='/home/crouse/tn5250j'
# Change to the emulator's directory
cd ${TN5250J_HOME}/
# Does the effective launching
java -jar "lib/tn5250j.jar"
---------------
Changing line #1 to
#!/bin/bash
and running with sh or ./tn5250j appears to work, but doesn't but the job
in the background. Using nohup accomplishes this and appears to work fine.
Thanks jbsnake for the help in irc.
_________________ Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
|
Back to top |
|
mmmna . . . .

Joined: 21 Apr 2025 Posts: 7224
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
|
Back to top |
|
joshwilson_1 Advanced Member
Joined: 19 Jan 2025 Posts: 823
|
Posted: Tue Feb 19, 2025 9:03 pm Post subject: |
|
|
Thanks for the 5250 work in Linux. I have a Dell laptop and I would like to get a 5250 emulator on it as I work a lot of greenscreen at the office for our AS400.
|
|
Back to top |
|
|