LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-21-2018, 11:27 PM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
imagej trouble workaround


Hya,

As the bug report says, imagej chokes.
Code:
~>imagej
Open other images in this ImageJ panel as follows:
  imagej -p 1 <image1> [<image2> ... <imageN>]

Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
For the time being, following workaround looks helpful.
edit line 104 on /usr/bin/imagej
from
Code:
    if [[ `uname -m` == 'x86_64' ]] ; then
        arch='-d64'
        java_path="${ij_path}/jre64/bin/java"
to
Code:
    if [[ `uname -m` == 'x86_64' ]] ; then
        arch=''
        java_path="${ij_path}/jre64/bin/java"
Lines 103,105 are shown.

cheers
 
  


Reply

Tags
imagej, java, workaround



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternative to ImageJ that runs without Python,Java,... just C++? Xeratul Linux - Software 1 05-18-2017 05:17 AM
Weird wireless trouble... cannot get an IP. Workaround: Turn on the PC sombragris Slackware 3 10-30-2011 09:29 PM
imagej crashing / freezing X-windows fred1234 Linux - Software 0 10-18-2010 12:01 PM
trouble ahead, trouble behind....trouble with mplayer Goonie Linux - Software 3 07-02-2003 02:29 AM
X iconify command/workaround captgoodnight Linux - General 0 05-24-2002 04:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration