Σελίδα 2 από 4
Re: logo soft comfort
Δημοσιεύτηκε:
13 Σεπ 2015, 19:17
από xlife
drakon84 έγραψε:Κατέβασα το java από το link και επίσης οτιδήποτε βρήκα σε java στο κέντρο λογισμικού. Πάλι δεν δουλεύει.
Το imagebin δεν το βρίσκω.
Μήπως δεν γίνεται να τρέξει για ubuntu, γιατί το site της siemens κάτι αναφέρει για τα linux SUSE...
Αφού το τρέχω εγώ σε Ubuntu τότε θα το τρέξεις και εσύ.. Βάλε το screenshot όπως σου είπε η fog και θα το λύσουμε.. Απλά πρέπει να βρούμε τι λείπει στον υπολογιστή σου.
Re: logo soft comfort
Δημοσιεύτηκε:
13 Σεπ 2015, 19:21
από drakon84
Δεν μπορώ να μεταφέρω το screenshot, το αρχείο είναι πολύ μεγάλο μου γράφει..
Δημοσιεύτηκε:
13 Σεπ 2015, 19:24
από xlife
Τρεξτο από κονσόλα και κάνε επικόλληση εδώ τα λάθη
Re: logo soft comfort
Δημοσιεύτηκε:
13 Σεπ 2015, 19:48
από drakon84
Οταν παω να το τρεξω απο την κονσολα μου βγαζει:
- Κώδικας: Επιλογή όλων
#!/bin/sh
#################################################################################################
#
# LAXUNIX.SH - LaunchAnywhere (tm) version 14.0
#
# (c) Copyright 2012 Flexera Software LLC All rights reserved.
#
# To run this script you will need to have the following:
# 1) a Java VM installed (however, it will handle a lack of Java nicely).
# 2) a Java-style properties file having the same name as this script
# with the suffix .lax. If this script is appended to the
# self-extractor, it will look for the properties file in the
# directory specified by $seLaxPath; otherwise, it will look in
# the same directory that this script is in.
# 3) a Java program in the file "lax.jar".
#
# The .lax property file must contain at least the following properties:
# 1) lax.class.path classpath (do not include the environment variable $CLASSPATH )
# 2) lax.nl.java.launcher.main.class (main class of LaunchAnywhere Executable)
#
#################################################################################################
Τον κώδικα τον βάζουμε μέσα σε [cοde]κώδικας[/cοde]. Επιλέγουμε το κείμενο και πατάμε το κουμπάκι .
και άλλες 10 περίπου σελίδες.
Re: logo soft comfort
Δημοσιεύτηκε:
13 Σεπ 2015, 20:45
από xlife
πρώτον η java υπάρχει ενσωματωμένη (απ όσο λέει η siemens)
δεύτερον θα ήθελα να δώ το μήνυμα της τελευταίας σελίδας που λογικά θα έχει και το λάθος της εκτέλεσης.. Η σελίδα που ανάρτησες είναι η σελίδα με τις πληροφορίες..
***(μήπως εγκατέστησες το πρόγραμμα σε σημείο που πρέπει να το τρέξεις με sudo? κάνε δοκιμή να το τρέξεις απο τερματικό με sudo - εγω στην ερώτηση που να το εγκαταστήσω, το έβαλα στο home.)
Re: logo soft comfort
Δημοσιεύτηκε:
13 Σεπ 2015, 21:07
από drakon84
Η τελευταία σελίδα είναι:
- Κώδικας: Επιλογή όλων
###########################################################################
# tlb 2001-09-18
# Moving the checking for the DISPLAY variable down here as there are
# options in the LAX that might override the need for checking the DISPLAY.
# Those options need loading before the check is performed.
# Also making sure we don't report an error when running on Mac OS X.
debugOut ""
debugOut "[7m========= Display settings ===========================================[0m"
#
# check the display
#
isRemoteDisplay="false"
if [ "$IS_INSTALLER" = "true" -a "$isConsole" = "false" -a "$isSilent" = "false" -a ! "$osName" = "darwin" ]; then
hostname=`hostname`
isRemoteDisplay="true"
for display in ${hostname}:0 ${hostname}:0.0 localhost:0 localhost:0.0 unix:0 unix:0.0 :0 :0.0
do
if [ "$DISPLAY" = "$display" ]; then
isRemoteDisplay="false";
fi
done
fi
xDisp="local"
if [ "$isRemoteDisplay" = "true" ]; then
xDisp="remote"
fi
if [ -z "$DISPLAY" ]; then
xDisp="not set"
fi
debugOut "X display............................... $xDisp"
if [ -z "$DISPLAY" -a "$uimode" = "gui" ]; then
debugOut "[1mWARNING: This shell's DISPLAY variable has not been set."
debugOut "This installer is configured to run in GUI and will probably"
debugOut "fail. Try running this installer in console or silent mode,"
debugOut "or on another UNIX host which has the DISPLAY variable set,"
debugOut "if the installer unexpectedly fails.[0m"
else
if [ "$isRemoteDisplay" = "true" -a "$uimode" = "gui" ]; then
debugOut "[1mWARNING: The name of this host ($hostname) and the setting"
debugOut "of this shell's DISPLAY ($DISPLAY) variable do not match."
debugOut "If this launcher is being displayed to a Microsoft Windows desktop"
debugOut "through X Windows the Java Virtual Machine might abort. Try running"
debugOut "this installer locally on the target system or through X Windows to"
debugOut "another UNIX host if the installer unexpectedly fails.[0m"
fi
fi
debugOut "UI mode................................. $uimode"
# COMMENT ME TO REMOVE OUTPUT FROM NORMAL INSTALLER EXECUTION
if [ "$IS_INSTALLER" = "true" -a "$uimode" != "silent" ]; then
echo ""
echo "Launching installer..."
echo ""
fi
# MMA - clear ENV to address a problem where the shell initialization
# file (.Xshrc) pointed to by ENV may overide the classpath we have just set,
# causing the app to fail. Drawback is that other environment variables set
# in the init file will not be available in the environment (they will be
# available as Java system properties, however). Comment out the two lines
# below to change this behavior.
ENV=
export ENV
# I split these up so they would be a bit clearer on the screen.
#debugOut ""
debugOut "[7m========= VM Command Line ============================================[0m"
#debugOut "CLASSPATH=$lax_class_path"
#debugOut "[1m\"$actvm\" $options $lax_nl_java_launcher_main_class \"$propfname\" \"$envPropertiesFile\" $cmdLineArgs[0m"
#debugOut "[1m$command[0m"
debugOut "[1moptions:[0m $options"
# Here is where we actually run the app in Java:
CLASSPATH="$lax_class_path:$CLASSPATH"; export CLASSPATH
debugOut "[7mCLASSPATH:[0m$CLASSPATH"
if [ "`echo $actvm | grep 'jre$'`" ]; then
cpArg="-cp"
fi
debugOut ""
unset POSIXLY_CORRECT
if [ $DO_NOT_FORK ]
then
debugOut "[7m========= Executing JAVA =============================================[0m"
# this is the original, it's still here for copy/paste purposes
#eval \"$actvm\" $options $lax_nl_java_launcher_main_class \"$propfname\" \"$envPropertiesFile\" $cmdLineArgs
lax_class_path=\"$lax_class_path\"
if [ $cpArg ]; then
command="\"$actvm\" $options $cpArg \"$CLASSPATH\" $lax_nl_java_launcher_main_class \"$propfname\" \"$envPropertiesFile\""
else
command="\"$actvm\" $options $lax_nl_java_launcher_main_class \"$propfname\" \"$envPropertiesFile\""
fi
eval $command $cmdLineArgs
else
debugOut "[7m========= Forking JAVA =============================================[0m"
if [ $cpArg ]; then
exec "$actvm" $options $cpArg "$CLASSPATH" $lax_nl_java_launcher_main_class "$propfname" "$envPropertiesFile" $cmdLineArgs
else
exec "$actvm" $options $lax_nl_java_launcher_main_class "$propfname" "$envPropertiesFile" $cmdLineArgs
fi
fi
exitValue=$?
debugOut "[7m========= JAVA Finished ==============================================[0m"
debugOut ""
# Change back to directory used priory to this script running.
cd "$olddir"
exit $exitValue
Εγώ το εγκατέστησα στην επιφάνεια εργασίας.
Τον κώδικα τον βάζουμε μέσα σε [cοde]κώδικας[/cοde]. Επιλέγουμε το κείμενο και πατάμε το κουμπάκι .
Re: logo soft comfort
Δημοσιεύτηκε:
13 Σεπ 2015, 21:07
από drakon84
Η τελευταία σελίδα είναι:
- Κώδικας: Επιλογή όλων
###########################################################################
# tlb 2001-09-18
# Moving the checking for the DISPLAY variable down here as there are
# options in the LAX that might override the need for checking the DISPLAY.
# Those options need loading before the check is performed.
# Also making sure we don't report an error when running on Mac OS X.
debugOut ""
debugOut "[7m========= Display settings ===========================================[0m"
#
# check the display
#
isRemoteDisplay="false"
if [ "$IS_INSTALLER" = "true" -a "$isConsole" = "false" -a "$isSilent" = "false" -a ! "$osName" = "darwin" ]; then
hostname=`hostname`
isRemoteDisplay="true"
for display in ${hostname}:0 ${hostname}:0.0 localhost:0 localhost:0.0 unix:0 unix:0.0 :0 :0.0
do
if [ "$DISPLAY" = "$display" ]; then
isRemoteDisplay="false";
fi
done
fi
xDisp="local"
if [ "$isRemoteDisplay" = "true" ]; then
xDisp="remote"
fi
if [ -z "$DISPLAY" ]; then
xDisp="not set"
fi
debugOut "X display............................... $xDisp"
if [ -z "$DISPLAY" -a "$uimode" = "gui" ]; then
debugOut "[1mWARNING: This shell's DISPLAY variable has not been set."
debugOut "This installer is configured to run in GUI and will probably"
debugOut "fail. Try running this installer in console or silent mode,"
debugOut "or on another UNIX host which has the DISPLAY variable set,"
debugOut "if the installer unexpectedly fails.[0m"
else
if [ "$isRemoteDisplay" = "true" -a "$uimode" = "gui" ]; then
debugOut "[1mWARNING: The name of this host ($hostname) and the setting"
debugOut "of this shell's DISPLAY ($DISPLAY) variable do not match."
debugOut "If this launcher is being displayed to a Microsoft Windows desktop"
debugOut "through X Windows the Java Virtual Machine might abort. Try running"
debugOut "this installer locally on the target system or through X Windows to"
debugOut "another UNIX host if the installer unexpectedly fails.[0m"
fi
fi
debugOut "UI mode................................. $uimode"
# COMMENT ME TO REMOVE OUTPUT FROM NORMAL INSTALLER EXECUTION
if [ "$IS_INSTALLER" = "true" -a "$uimode" != "silent" ]; then
echo ""
echo "Launching installer..."
echo ""
fi
# MMA - clear ENV to address a problem where the shell initialization
# file (.Xshrc) pointed to by ENV may overide the classpath we have just set,
# causing the app to fail. Drawback is that other environment variables set
# in the init file will not be available in the environment (they will be
# available as Java system properties, however). Comment out the two lines
# below to change this behavior.
ENV=
export ENV
# I split these up so they would be a bit clearer on the screen.
#debugOut ""
debugOut "[7m========= VM Command Line ============================================[0m"
#debugOut "CLASSPATH=$lax_class_path"
#debugOut "[1m\"$actvm\" $options $lax_nl_java_launcher_main_class \"$propfname\" \"$envPropertiesFile\" $cmdLineArgs[0m"
#debugOut "[1m$command[0m"
debugOut "[1moptions:[0m $options"
# Here is where we actually run the app in Java:
CLASSPATH="$lax_class_path:$CLASSPATH"; export CLASSPATH
debugOut "[7mCLASSPATH:[0m$CLASSPATH"
if [ "`echo $actvm | grep 'jre$'`" ]; then
cpArg="-cp"
fi
debugOut ""
unset POSIXLY_CORRECT
if [ $DO_NOT_FORK ]
then
debugOut "[7m========= Executing JAVA =============================================[0m"
# this is the original, it's still here for copy/paste purposes
#eval \"$actvm\" $options $lax_nl_java_launcher_main_class \"$propfname\" \"$envPropertiesFile\" $cmdLineArgs
lax_class_path=\"$lax_class_path\"
if [ $cpArg ]; then
command="\"$actvm\" $options $cpArg \"$CLASSPATH\" $lax_nl_java_launcher_main_class \"$propfname\" \"$envPropertiesFile\""
else
command="\"$actvm\" $options $lax_nl_java_launcher_main_class \"$propfname\" \"$envPropertiesFile\""
fi
eval $command $cmdLineArgs
else
debugOut "[7m========= Forking JAVA =============================================[0m"
if [ $cpArg ]; then
exec "$actvm" $options $cpArg "$CLASSPATH" $lax_nl_java_launcher_main_class "$propfname" "$envPropertiesFile" $cmdLineArgs
else
exec "$actvm" $options $lax_nl_java_launcher_main_class "$propfname" "$envPropertiesFile" $cmdLineArgs
fi
fi
exitValue=$?
debugOut "[7m========= JAVA Finished ==============================================[0m"
debugOut ""
# Change back to directory used priory to this script running.
cd "$olddir"
exit $exitValue
Εγώ το εγκατέστησα στην επιφάνεια εργασίας.
Τον κώδικα τον βάζουμε μέσα σε [cοde]κώδικας[/cοde]. Επιλέγουμε το κείμενο και πατάμε το κουμπάκι .
Re: logo soft comfort
Δημοσιεύτηκε:
13 Σεπ 2015, 21:11
από drakon84
Το εκτέλεσα με sudo αλλά μου έβγαλε:
- Κώδικας: Επιλογή όλων
Unable to locate the application's 'main' class. The class 'Start' must be public and have a 'public static void main(String[])' method. (LAX)
Unable to Launch Java Application: Unable to locate the application's 'main' class. The class 'Start' must be public and have a 'public static void main(String[])' method. (LAX)
Τον κώδικα τον βάζουμε μέσα σε [cοde]κώδικας[/cοde]. Επιλέγουμε το κείμενο και πατάμε το κουμπάκι .
Re: logo soft comfort
Δημοσιεύτηκε:
13 Σεπ 2015, 21:18
από drakon84
Όποιος το βρεί να μου πεί το βαφτιστικό όνομα του για να του ανάψω κερί την Κυριακή στην εκκλησία.
Re: logo soft comfort
Δημοσιεύτηκε:
13 Σεπ 2015, 21:40
από xlife
Πρόβλημα στη java... όμως είμαι έξω απο τα νερά μου για να σου απαντήσω... Αν θες ξαναεγκατέστησε το σε άλλο φάκελο όχι όμως οτι θα δεις κάποια διαφορά.. και να περιμένουμε κάποιον που να γνωρίζει σχετικά με java.. ωστε να σου απαντήσει..