LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 10-27-2020, 10:25 AM   #31
SINISTER750
Member
 
Registered: Sep 2020
Posts: 53

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by pan64 View Post
as I wrote (in post #22) the backticks are not evaluated properly. I have no idea why. Probably because they are not real backticks.
you can try some simple scripts, like:
Code:
AUTO_CLASSPATH_DIR=/usr/share/java
for dir in `find ${AUTO_CLASSPATH_DIR} -type d 2>/dev/null`; do
    echo "xxx${dir}yyy"
done
to check what's going on
Now the errors are:
Code:
-su: /etc/profile.d/openjdk.sh: line 3: unexpected EOF while looking for matching `"'
-su: /etc/profile.d/openjdk.sh: line 4: syntax error: unexpected end of file
`"' is backtick then double quote then single quote.
 
Old 10-27-2020, 10:37 AM   #32
SINISTER750
Member
 
Registered: Sep 2020
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
as I wrote (in post #22) the backticks are not evaluated properly. I have no idea why. Probably because they are not real backticks.
you can try some simple scripts, like:
Code:
AUTO_CLASSPATH_DIR=/usr/share/java
for dir in `find ${AUTO_CLASSPATH_DIR} -type d 2>/dev/null`; do
    echo "xxx${dir}yyy"
done
to check what's going on
I have tried many things but now I am thinking to leave it and move on to further packages. Will it be a problem?
A million thanks to you!
 
Old 10-27-2020, 10:59 AM   #33
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,836

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
Quote:
Originally Posted by SINISTER750 View Post
Now the errors are:
Code:
-su: /etc/profile.d/openjdk.sh: line 3: unexpected EOF while looking for matching `"'
-su: /etc/profile.d/openjdk.sh: line 4: syntax error: unexpected end of file
`"' is backtick then double quote then single quote.
I don't understand what did you try and how.

from my side you can move on, but openjdk was not installed properly, that can be an issue later.
 
1 members found this post helpful.
Old 10-27-2020, 02:33 PM   #34
SINISTER750
Member
 
Registered: Sep 2020
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
I don't understand what did you try and how.

from my side you can move on, but openjdk was not installed properly, that can be an issue later.
Brother you are a genius!
Oh I'm so stupid!
The problem really was about the backticks!
Now I got it where I was wrong.
The backticks in the configuration script file. As I'm doing this on an old laptop which cannot run VM for 64 bit OS, I have to type in everything and there I couldn't differentiate between a backtick and a single quote. Now I see that.

Thanks to you !
Thanks a lot!
 
Old 10-27-2020, 02:39 PM   #35
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,836

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
that is good news. Finally.
In that case probably you can mark the thread solved.
 
1 members found this post helpful.
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Java Woes: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available ... chytraeus Slackware 10 11-27-2010 10:04 AM
Yet another java classpath question --- java.lang.NoClassDefFoundError Jama raequin Programming 1 12-29-2009 01:04 PM
How to set the CLASSPATH environment variable Rodotheos Programming 3 06-20-2005 04:30 AM
How to set PATH and CLASSPATH environment variables bronko Linux - Newbie 2 12-20-2003 11:13 AM
ClASSPATH variable for Java oulevon Linux - General 1 02-28-2001 08:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:01 AM.

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