LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 09-07-2018, 10:24 AM   #1
mickey0
LQ Newbie
 
Registered: Oct 2006
Distribution: Kubuntu Dapper
Posts: 18

Rep: Reputation: 0
javax pakage not found


Hello,

I'm compiling a simple Java program in a shell, command line, within its directory but I got that error. I didn't find a clear solution to this. Some hint?

at the moment the only import line that doens't work is:
Code:
import javax.*;

CentOS Linux release 7.3.1611 (Core)
javac 1.8.0_181
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
 
Old 09-08-2018, 08:40 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
you might have to be a little more specif then using a wildcard to pull in everything javax, or insure your paths are in place for javax everything.

Last edited by BW-userx; 09-08-2018 at 08:42 AM.
 
Old 09-08-2018, 04:10 PM   #3
mickey0
LQ Newbie
 
Registered: Oct 2006
Distribution: Kubuntu Dapper
Posts: 18

Original Poster
Rep: Reputation: 0
Everything regarding javax doesn't work, like this:

Code:
import javax.media.j3d.BranchGroup;
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Broken pakage error aaquib Linux - Newbie 3 04-14-2017 01:42 AM
[SOLVED] broken pakage Garrett85 Linux - Software 6 12-08-2015 05:02 PM
Xmgr plotting pakage on RHEL The_Watcher Linux - Enterprise 2 06-08-2008 03:11 AM
pakage gtk was not found .... SpellChainz Linux - Software 1 06-25-2007 03:35 PM
window-win WOL pakage? Bobymc General 8 06-12-2006 02:17 PM

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

All times are GMT -5. The time now is 11:19 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