Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issue with java software after emerging world.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Fri Jan 24, 2014 10:30 pm    Post subject: Issue with java software after emerging world. Reply with quote

I am trying to start a java program I used regularly, and this is what I get.

Code:

 $ ./tr.sh
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xf765110d, pid=6276, tid=4149078848
#
# Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode linux-x86)
# Problematic frame:
# C  [libc.so.6+0x12b10d]
#
# An error report file with more information is saved as:
# /home/louis/Downloads/tr-2.2.1-with-jre/bin/hs_err_pid6276.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
./../platform9/lib/nbexec: line 493:  6276 Aborted                 "/home/louis/Downloads/tr-2.2.1-with-jre/bin/jre1.6.0_13/bin/java" -Djdk.home="/home/louis/Downloads/tr-2.2.1-with-jre/bin/jre1.6.0_13" -classpath "/home/louis/Downloads/tr-2.2.1-with-jre/platform9/lib/boot.jar:/home/louis/Downloads/tr-2.2.1-with-jre/platform9/lib/org-openide-modules.jar:/home/louis/Downloads/tr-2.2.1-with-jre/platform9/lib/org-openide-util.jar:/home/louis/Downloads/tr-2.2.1-with-jre/platform9/lib/locale/boot_fr.jar:/home/louis/Downloads/tr-2.2.1-with-jre/platform9/lib/locale/org-openide-modules_fr.jar:/home/louis/Downloads/tr-2.2.1-with-jre/platform9/lib/locale/org-openide-util_fr.jar" -Dnetbeans.dirs="./../tr:./../ide10:" -Dnetbeans.home="/home/louis/Downloads/tr-2.2.1-with-jre/platform9" '-Xms64m' '-Xmx256m' '-XX:PermSize=64m' '-XX:MaxPermSize=256m' '-Dsun.java2d.noddraw=true' '-client' '-Xverify:none' org.netbeans.Main --userdir "/home/louis/.thinkingrock/tr-2.2.1" "--branding" "tr" "--laf" "javax.swing.plaf.metal.MetalLookAndFeel" "--fontsize" "12"


louis@localhost ~/Downloads/tr-2.2.1-with-jre/bin $ eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-bin-6  system-vm
  [2]   icedtea-bin-7  user-vm


Any ideas on what I can do to solve it? I tried setting a user and a system vm, but still no luck.
Back to top
View user's profile Send private message
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Fri Jan 31, 2014 6:55 am    Post subject: Reply with quote

Quote:
01:44 <@sera> rule_2: that tr-2.2.1-with-jre's JRE is used and not the system-vm
01:46 <@sera> rule_2: the bundled version is also quite old and shouldn't be used anymore anyway
01:47 < rule_2> sera: would you suggest that I simply look for alternative software to perform that task
that is regularly updated & not dependent on ancient jre libraries?
01:47 < rule_2> sera: also, if this only occurs after I emerge world, what could have changed, since this
package was never part of portage?
01:49 <@sera> even the bundled jre will use system libraries in can so possibly get broken by a world
update
01:49 < rule_2> this software is good just not
spend-5-hours-trying-to-fix-it-and-still-come-up-empty-handed good
01:49 <@sera> I'd delete the bundled copy /home/louis/Downloads/tr-2.2.1-with-jre/bin/jre1.6.0_13
01:50 < rule_2> yes sir let me try that
01:50 < rule_2> thank you
01:50 < rule_2> when I do that I get Cannot find java. Please use the --jdkhome switch.
01:50 <@sera> rule_2: and the launcher script passes in
-Djdk.home=/home/louis/Downloads/tr-2.2.1-with-jre/bin/jre1.6.0_13
01:50 < rule_2> but if I use the --jdkhome switch I get the same error
01:51 <@sera> --jdkhome takes an argument I suspect
01:51 <@sera> try --jdkhome $(java-config -o)


and now it works. Thinkingrock works great with java now.

Incase anyone else ever has this issue. sera in #gentoo-java rocks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum