Code Monkey home page Code Monkey logo

ertool's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ertool's Issues

Sun Java 1.8 library formulas may fail

I have noticed in Sun Java 1.8 some formulas are failing (no results will be found for that formula, other times it will work successfully, but rarely). This likely has to do with the multicore support, but haven't yet been able to pinpoint why this change in behavior for Sun Java 1.8.

I have not yet tested IBM Java 1.8, will also see if the same behavior is exhibited.

IBM Java 1.6 - OK
IBM Java 1.7 - OK
IBM Java 1.8 - OK
Sun Java 1.8 - Fails

ERTool not running on Windows 32 bit JVM

I have 64 bit Windows 7, with 32 bit JVM (jdk1.8.0_141).

I compiled the ERTool successfully, but when I try to run the jar it is giving following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM

Java compilation error in AnalyticsProcessor.java:365

sh-3.2$ ant
Buildfile: /Users/xx/Document/GitHub/ertool/framework/build.xml

init:
[mkdir] Created dir: /Users/xx/Document/GitHub/ertool/framework/bin
[mkdir] Created dir: /Users/xx/Document/GitHub/ertool/framework/bin/tools

compile:
[javac] /Users/xx/Document/GitHub/ertool/framework/build.xml:62: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 82 source files to /Users/xx/Document/GitHub/ertool/framework/bin
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[javac] /Users/xx/Document/GitHub/ertool/framework/src/com/ibm/datapower/er/Analytics/AnalyticsProcessor.java:365: error: ')' expected
[javac] if ( ordField.getFieldValue().startsWith(("{Condition:"))
[javac] ^
[javac] 1 error
[javac] 1 warning

BUILD FAILED
/Users/xx/Document/GitHub/ertool/framework/build.xml:62: Compile failed; see the compiler error output for details.

MacBook arm M1 issue

Hello,

on Mac book - M1 arm there is issue with SWT library.
Tried on intel Mac, on both same java version, intel works, arm not

andrej@Andrejs-MacBook-Pro dist % java --version java 11.0.16 2022-07-19 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.16+11-LTS-199) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.16+11-LTS-199, mixed mode)

andrej@Andrejs-MacBook-Pro dist % java -XstartOnFirstThread -jar ErrorReport.jar -gui
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
	no swt-cocoa-4948r5 in java.library.path: [/Users/andrej/Library/Java/Extensions, /Library/Java/Extensions, /Network/Library/Java/Extensions, /System/Library/Java/Extensions, /usr/lib/java, .]
	no swt-cocoa in java.library.path: [/Users/andrej/Library/Java/Extensions, /Library/Java/Extensions, /Network/Library/Java/Extensions, /System/Library/Java/Extensions, /usr/lib/java, .]
	no swt in java.library.path: [/Users/andrej/Library/Java/Extensions, /Library/Java/Extensions, /Network/Library/Java/Extensions, /System/Library/Java/Extensions, /usr/lib/java, .]
	Can't load library: /Users/andrej/.swt/lib/macosx/aarch64/libswt-cocoa-4948r5.jnilib
	Can't load library: /Users/andrej/.swt/lib/macosx/aarch64/libswt-cocoa.jnilib
	Can't load library: /Users/andrej/.swt/lib/macosx/aarch64/libswt.jnilib
	Can't load library: /Users/andrej/.swt/lib/macosx/aarch64/libswt-cocoa-4948r5.jnilib

	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:348)
	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:257)
	at org.eclipse.swt.internal.C.<clinit>(C.java:19)
	at org.eclipse.swt.widgets.Display.<clinit>(Display.java:107)
	at com.ibm.datapower.er.erGUI.<init>(Unknown Source)
	at com.ibm.datapower.er.ERTool.GetGUIArgs(Unknown Source)
	at com.ibm.datapower.er.ERTool.<init>(Unknown Source)
	at com.ibm.datapower.er.ERTool.main(Unknown Source)

reference to libswt is static to the win-32 one

Hey

It seems that you refer to libswt-win32.so
Is there a reason that you refer to an environment specific swt library ?
On windows it works like a charm (nice tool btw) on linux it doesn't.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.