Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javac only returns 'Killed'  RSS feed

 
Jim Kavanagh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I just installed the java sdk 1.4.2 04 the other day on my linux machine and everything was fine.

But I came back to it the next day all it will say is "killed".

Example:
# ./java -version
Killed

I've tried google but "java" and "killed" come back with some interesting results.

Thanks for any help
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did you execute the command in the JAVA/bin dir?
 
Jim Kavanagh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes,

The directory Im using is:
/usr/java/j2sdk1.4.2_04/bin

I set up $JAVA_HOME to point there as well (less the /bin) if that makes a difference.
 
Jason Fox
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe the /bin directory does make a difference, but I could be wrong. At least, my $JAVA_HOME includes it (per etc/profile on mdk 10) and java works fine for me. To clarify, I checked and I am running 1.4.2_04 as well. What distro/ kernel are you using?
[ May 17, 2004: Message edited by: Jason Fox ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The bin directory is not meant to be part of the JAVA_HOME environment variable. JAVA_HOME/bin is often included in the PATH environment variable.

I'm moving this to the Linux/UNIX forum, where folks might have an idea of what's going on...
[ May 17, 2004: Message edited by: Dirk Schreckmann ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!