Compilation in jbase 5.0 of R08 Environment

  • rsolapade
  • Topic Author
  • Visitor
  • Visitor
15 years 2 weeks ago #5206 by rsolapade
hi all,

I have R08 version of T24 and jbase 5.0 in my localhost with this small routine that i am using to test the jbase compilation but the routine is returning this error messages as shown below:

jsh Admin ~ -->EB.COMPILE LOCAL.BP CUS.DISPLAY.DETAILS
Source directory : LOCAL.BP Single item : CUS.DISPLAY.DETAILS
Score Checks Compile Catalog
Score Checks Exception in thread "Thread-3" java.lang.NoClassDefFoundError: com/temenos/j24/compiler/EbCompile
Compile cl /nologo /DWIN32 /MD /W2 /GR /EHsc -c -IC:\jbase5\5.0\include -DJBC_OPTLEVEL2 -IGLOBUS.BP BASIC_13.c failed , command returned a code of 2
jcompile: BASIC_13.j deleted
jcompile: BASIC_13.c deleted
jcompile: Returned an error code of 8
Catalog
Current settings of bin & lib unchanged:
C:\R08MB\R08000\bnk.run\bin & lib
CUS.DISPLAY.DETAILS
BASIC_13.c
C:\jbase5\5.0\include\winpthread.h(218) : fatal error C1083: Cannot open include file: 'time.h': No such file or directory
** Unable to compile source CUS.DISPLAY.DETAILS **
<compileoutput><errors></errors><warnings><warning><msg>Java Standards was not checked! Code 3 was returned.</msg><line></line><type>Ensure your T24 java environment is configured correctly.</type></warning><warning><msg>Warning - found 'CRT' 3 times</msg><line>29</line><type>Incompatible with Browser, Desktop and OFS. Do not use</type></warning></warnings><codereviews></codereviews><standards></standards><RatingDetail><CodeLines>0</CodeLines><ParaLines>0</ParaLines><Nests>0</Nests><Conditions>0</Conditions><Gotos>0</Gotos><SameLine>0</SameLine><Labels>-30</Labels><Comments>0</Comments><Rating>-30</Rating><CurrentRating>-30</CurrentRating></RatingDetail></compileoutput>

jsh Admin ~ -->

this is the jdiag command issued to see the jbase envronment setting:

jsh Admin ~ -->jdiag -c
jdiag - jBASE diagnostic '$Revision: 1.15 $'

System Information
==================

System : WinNT USER 5.1 i386
OS Release : Windows XP Pro, Build 2600, Service Pack 3
NT User : Admin
Time : Sun Jun 13 14:14:47 2010

Environment
===========

JBCPORTNO : Not Set
JBCRELEASEDIR : 'C:\jbase5\5.0'
JBCGLOBALDIR : 'C:\jbase5\5.0'
WARNING: JBCDATADIR is not set, Default 'C:\jbase5\5.0\jbase_data'
WARNING: JBCDATADIR directory 'C:\jbase5\5.0\jbase_data' not valid, error 2
WARNING: JBCDATADIR is subdirectory of JBCGLOBALDIR
HOME : 'C:\R08MB\R08000\bnk.run'
JEDIFILEPATH : 'C:\R08MB\R08000\bnk.run'
JEDIFILENAME_MD : 'VOC'
JEDIFILENAME_SYSTEM : 'C:\jbase5\5.0\src\SYSTEM'
SYSTEM File is (DICT) : 'C:\jbase5\5.0\src\SYSTEM]D'
RELEASE Information : Major 5.0 , Minor 4 , Patch 0106 (Change 51670)
Spooler dir (JBCSPOOLERDIR) : 'C:\R08MB\R08000\bnk.run\jspooler'
JBCEMULATE : 'prime'
TEMP file path : 'C:\WINDOWS\TEMP\'
WARNING: Cannot access Executable path 'C:\JBASE40\mingw\bin', error 2
WARNING: Cannot access Executable path 'C:\Program Files\Microsoft Visual Studi
o .NET 2003\VC7\bin', error 2
jdiag Program bit type : '32-bit'
Object path (JBCOBJECTLIST) : 'C:\R08MB\R08000\bnk.run\lib;C:\R08MB\R08000\bnk.
run\globuslib'
WARNING: Cannot access JBC_CCOMPILER_PATH path 'C:\Program Files\Microsoft Visu
al Studio .NET 2003\VC7', error 2
VC++ Registry : Version 7; Path C:\Program Files\Microsoft Visual
Studio .NET\VC7
WARNING: JBC_CCOMPILER_PATH is 'C:\Program Files\Microsoft Visual Studio .NET 2
003\VC7' which does not match VC++ registry
WARNING: VC++ BIN directory 'C:\Program Files\Microsoft Visual Studio .NET\VC7\
bin' not in PATH
WARNING: VC++ INCLUDE directory 'C:\Program Files\Microsoft Visual Studio .NET\
VC7\include' not in INCLUDE Environment
WARNING: VC++ LIB directory 'C:\Program Files\Microsoft Visual Studio .NET\VC7\
lib' not in LIB Environment
jBASE Compiler Run-time : 'C:\jbase5\5.0\config\system.properties'
Program dir (JBCDEV_BIN) : 'C:\R08MB\R08000\bnk.run\bin'
Subroutine dir (JBCDEV_LIB) : 'C:\R08MB\R08000\bnk.run\lib'


Here is the routine:

*Subroutine to display the details of customer 100069
*
* <Rating>-30</Rating>
*
SUBROUTINE CUS.DISPLAY.DETAILS
$INCLUDE GLOBUS.BP I_COMMON
$INCLUDE GLOBUS.BP I_EQUATE
$INCLUDE GLOBUS.BP I_F.CUSTOMER
GOSUB INIT
GOSUB OPENFILES
GOSUB PROCESS
RETURN
INIT:
FN.CUS = "F.CUSTOMER"
F.CUS = ""
Y.CUS.ID = 100069
Y.MNEMONIC = ""
Y.NATIONALITY = ""
R.CUSTOMER = ""
CUS.ERR1 = ""
RETURN
OPENFILES:
CALL OPF(FN.CUS,F.CUS)
RETURN
PROCESS:
CALL F.READ(FN.CUS,Y.CUS.ID,R.CUSTOMER,F.CUS,CUS.ERR1)
Y.MNEMONIC = R.CUSTOMER<EB.CUS.MNEMONIC>
Y.NATIONALITY = R.CUSTOMER<EB.CUS.NATIONALITY>
CRT “Customer Id: “:Y.CUS.ID
CRT “Customer Mnemonic: “:Y.MNEMONIC
CRT “Customer Nationality: “:Y.NATIONALITY
RETURN
END


my rgds

Please Log in or Create an account to join the conversation.

More
15 years 1 week ago #5209 by join2rag123
Replied by join2rag123 on topic Re:Compilation in jbase 5.0 of R08 Environment
HI INSTEAD OF USING $INCLUDE ....
USE $INSERT I_COMMON
$INSERT I_EQUATE

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #5687 by kripesh
ReInstall jBASE. Seems like your C Compiler or .NET was not installed properly...

Have a great day !

Please Log in or Create an account to join the conversation.

Time to create page: 0.043 seconds