Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codes for Pre-Packaged Java 7 executable #18

Open
CQRuu opened this issue Sep 21, 2016 · 8 comments
Open

Codes for Pre-Packaged Java 7 executable #18

CQRuu opened this issue Sep 21, 2016 · 8 comments

Comments

@CQRuu
Copy link

CQRuu commented Sep 21, 2016

Hi there!

I found your pre-packaged Java 7 executable (at
https://github.com/STIXProject/stix-viz/releases/download/v1.0.5a/StixVizDistro_Windows_java7.zip)
very useful and less buggy than the codes currently available on the site. (for instance, the current codes couldn't really display in the tree view for me; I couldn't drag the nodes in Graph View as freely too).

Would it be possible for you to share the codes you used in the executable / upload them on github?

@gtback
Copy link
Contributor

gtback commented Sep 22, 2016

Hi, @CQRuu . Thanks for the feedback.

This code hasn't seen any real updates in a long time. I'm not familiar with how the executables were built; there are some instructions in the README. Are those what you used to build your version? Also, I know the dependencies are really out of date; are you trying to use the older versions or the newest versions? Lastly, if you can share, what STIX document are you trying to view?

The more information you can provide, the easier it will be for me to try to reproduce and fix. I'm assuming based on the link you sent above that you're running Java 7 on Windows, is that correct?

@CQRuu
Copy link
Author

CQRuu commented Sep 22, 2016

Hi Greg Back!

Thanks for replying [😊]

  • I just updated my Java, so it is Java 8 now
  • I'm using nwjs.v0.17.4-win-x64
  • I am able to run both pre-packaged Java 7 executable and pre-packaged Java 8 executable provided on your site
  • However when I cloned the github and created my own StixViz.nw and StixViz.exe, the following issues appeared:
  1. I initially thought the tree view wouldn't load (because it was usually just a blank page), but I realised it is the screen being cut off. The timeline view looked different too:

[cid:0d6bba38-b5f5-4f41-9117-a2ab07e60d74]

[cid:41ac85f8-93a7-49d2-ab89-05a18c32519a]

  1. On the graph view, the indicators first appeared in the top left corner of the screen instead of being in the center, and wouldn't spread out:

[cid:08e6a1d8-0b3d-4880-b6a1-5af39493d668]

  1. Clicking "Ungroup" causes the page to hang

I figured for some reason, the screen wouldn't recognise the full size of my window and only takes a small portion at the top left corner (hence the icons appeared "stuck" at the top corner). While I was able to manually drag the screen to increase the size on graph view, it is not possible to do so for tree view or timeline view.

I'm not sure what caused the screen to downsize, and it was difficult for me to troubleshoot :( I'd appreciate any advice / suggestion for me to troubleshoot!

(I used the xml downloaded from otx-alienvault, soltra, online etc. For example on: https://github.com/STIXProject/stix-viz/wiki/STIXViz-Usage)


@gtback
Copy link
Contributor

gtback commented Sep 22, 2016

Thanks, @CQRuu. If you included screenshots, it seems like they got lost somehow. Feel free to send them to [email protected].

I will look into this early next week and see if I can reproduce the issues you're seeing. Thanks again!

@gtback
Copy link
Contributor

gtback commented Oct 4, 2016

Hi, @CQRuu . I'm having trouble getting a development environment set up. Can you try checking out a specific tag of the repo (for example: https://github.com/STIXProject/stix-viz/tree/v1.0.6a) and see if that helps solve your problem?

@CQRuu
Copy link
Author

CQRuu commented Oct 5, 2016

Hi Greg,

Sure, I'll try that and see if it works. Thank you!

Regards
Qianru

@gtback
Copy link
Contributor

gtback commented Jan 14, 2017

Hi @CQRuu : Any updates on this? Are you still having this problem?

@KimSangpil
Copy link

KimSangpil commented Oct 10, 2017

Hi @gtback : Can I ask a question?
Is there a linux version of java.exe ?
Or Is there any uploaded sources for java.exe?
Thanks.

@gtback
Copy link
Contributor

gtback commented Oct 10, 2017

Hi, @KimSangpil. We don't currently have a pre-built release for Linux, but it should be possible to build the source for Linux. I don't use a Linux desktop, but I believe there are equivalent Java build tools, runtimes, etc. on Linux like there are for Windows and Mac.

If you run into problems, please let us know. If you're able to get stix-viz up and running on Linux, I would love to incorporate any notes/feedback you have about what you had to do into our documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants