nsight - Java installed but still not finding [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Re: Java JRE or JDK installed but still not finding it

Postby sabayonino » Thu Dec 26, 2013 15:08

fjkhf wrote:Hello, trying to running a program (https://forum.sabayon.org/viewtopic.php?f=86&t=31139&start=10) it gives me:

A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Nsight. No Java virtual machine
was found after searching the following locations:
../jre/bin/java



ok. I think your JM enviroment is fine but Nsight check excutable in other path

please paste

Java and Jar and Javac Location exutable
Code: Select all
$ java-config -{J,j,c}
User avatar
sabayonino
Sagely Hen
 
Posts: 2511
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Java JRE or JDK installed but still not finding it

Postby fjkhf » Thu Dec 26, 2013 15:11

If you mean oracle-jre ,I tried it also but still nothing :(
fjkhf
Simple Hen
 
Posts: 97
Joined: Tue Jun 26, 2012 13:41

Re: Java JRE or JDK installed but still not finding it

Postby fjkhf » Thu Dec 26, 2013 15:12

Code: Select all
java-config -{J,j,c}

/opt/oracle-jdk-bin-1.7.0.45/bin/java
/opt/oracle-jdk-bin-1.7.0.45/bin/jar
/opt/oracle-jdk-bin-1.7.0.45/bin/javac
fjkhf
Simple Hen
 
Posts: 97
Joined: Tue Jun 26, 2012 13:41


Re: Java JRE or JDK installed but still not finding it

Postby fjkhf » Thu Dec 26, 2013 15:30

Still nothing..

Also , I did :

Code: Select all
cat nsight

#!/bin/sh
CUDA_BIN=$( cd "$( dirname "$0" )" && pwd )
PATH=$PATH:$CUDA_BIN LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CUDA_BIN/../lib:$CUDA_BIN/../lib64 UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 $CUDA_BIN/../libnsight/nsight $@



I must mention that nsight lies in
Code: Select all
/opt/cuda/bin
and there is no
Code: Select all
/libnsight
folder (as stated above).

Maybe sth is wrong with this?Or with eclipse?

Thanks for helping.
fjkhf
Simple Hen
 
Posts: 97
Joined: Tue Jun 26, 2012 13:41

Re: Java JRE or JDK installed but still not finding it

Postby sabayonino » Thu Dec 26, 2013 15:42

uuhhmmm...

need Eclipse Compiler for Java ?

Code: Select all
# equo s dev-java/eclipse-ecj


Code: Select all
# equo query installed dev-java/eclipse-ecj

can you try this ?
User avatar
sabayonino
Sagely Hen
 
Posts: 2511
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Java JRE or JDK installed but still not finding it

Postby fjkhf » Thu Dec 26, 2013 15:47

I have it installed.
Code: Select all
equo query installed dev-java/eclipse-ecj

╠ @@ Searching...
╠ @@ Package: dev-java/eclipse-ecj-4.2.1 branch: 5, [__system__]
╠ Installed: version: 4.2.1 ~ tag: NoTag ~ revision: 0
╠ Slot: 4.2
╠ Homepage: http://www.eclipse.org/
╠ Description: Eclipse Compiler for Java
╠ License: EPL-1.0
╠ Keywords: dev-java/eclipse-ecj
╠ Found: 1 entry


(If I remember well , I had installed manually eclipse because i wanted the most recent edition).I don't know if that
plays a role.
fjkhf
Simple Hen
 
Posts: 97
Joined: Tue Jun 26, 2012 13:41

Re: Java JRE or JDK installed but still not finding it

Postby sabayonino » Thu Dec 26, 2013 16:36

fjkhf wrote: I had installed manually eclipse because i wanted the most recent edition).I don't know if that
plays a role.

:mrgreen: ... i think this is the "problem"

can you try entropy-version of eclipse to check if nsighs works ?
User avatar
sabayonino
Sagely Hen
 
Posts: 2511
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Java JRE or JDK installed but still not finding it

Postby fjkhf » Thu Dec 26, 2013 19:33

Hmm.. I removed eclipse4.2 and installed eclipse3.7 but still the same problem..
fjkhf
Simple Hen
 
Posts: 97
Joined: Tue Jun 26, 2012 13:41

Re: Java JRE or JDK installed but still not finding it

Postby fjkhf » Sat Dec 28, 2013 10:05

Any more ideas? :)
Maybe some configuration inside eclipse?

Thank you!
fjkhf
Simple Hen
 
Posts: 97
Joined: Tue Jun 26, 2012 13:41

PreviousNext

Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 5 guests