Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

downloaded sql developer and xe213 database, cant get it connect?

User_OLVNIJan 16 2022 — edited Jan 16 2022

hello, first time sql user here, i'm trying to practice some queries and was told to get familiar with the sql developer, i have the sql developer up and running, and installed 21c. they are both on the c drive using default installation settings.
right now i can't do anything as it won't connect to the database, is it because i didn't install the database in the correct directory? when i add a new connection, after input the same pw i made while installing the 21c express edition, and using sys for username, it cant connect and it failed testing.
also
No TNS entries found in {USER Home dir=C:\Users\kyle, ORACLE_HOME=C:\app\kyle\product\21c\dbhomeXE\network\admin}
under the TNS file load option

Comments

gimbal2
If you have to resort to GCJ, you are already on thin ice and should rethink your strategy. I'd say you don't need Java but you need a native C/C++ application. In any case, a Google search for "gcj java comm" resulted in this as the first hit:

http://stackoverflow.com/questions/1835531/java-compiled-with-gcj-using-javax-comm-api-possible

Amazing what a simple Google query can tell you in under a second, huh?
EJP
GCJ is not a Java compiler, and it relies on a library called GNU CLASSPATH which isn't Java either. Don't use it, and don't ask about it here, this site is for Java as defined by the Sun/Oracle specifications.
860005
Thank you for replying.

I have a complete java program, the problem is that i dont know how to compile it on embeded linux 2.6.86. I googled it and gcj came up in search results. Can you assisst me in this problem.

I m using ok6410 development kit (arm board). It is with wince 6 or linux 2.6.86. I have whole coding in java which is tested in windows OS.

How can i compile my code in above mentioned kit?
860005
Yes i did googled it and came accross that answer which i didnt understand. Can u suggest me any other compile that will run in

Embeded linux 2.6.86 (Debian)

The problem is i have done all my coding in java.
gimbal2
857002 wrote:
Yes i did googled it and came accross that answer which i didnt understand. Can u suggest me any other compile that will run in

Embeded linux 2.6.86 (Debian)

The problem is i have done all my coding in java.
Java classes are cross-platform. If there is a Java runtime for this Linux version then you can run them even if you compiled them on Windows. If there is no compatible Java runtime then you should have done your research before writing the code.
EJP
How can i compile my code in above mentioned kit?
Download and install a JDK from Sun/Oracle for the platform and use the 'javac' command.
1 - 6

Post Details

Added on Jan 16 2022
0 comments
171 views